Submitted by irieyuusuke on Thu, 02/09/2017 - 11:41
Let's encrypt. When using NGINX, Not working automatic renewal.
IF using Apache, it working correctly.
CentOS6.8.
Vertualmin 5.05
Of course, I entered "1" in the fields of 「Months between automatic renewal」
Status:
Active
Comments
Submitted by irieyuusuke on Thu, 02/09/2017 - 11:42 Comment #1
Submitted by stretch on Thu, 02/09/2017 - 17:27 Comment #2
Hi, same issues as yours, developers say it will be fixed https://www.virtualmin.com/node/45709 https://www.virtualmin.com/node/45505 https://www.virtualmin.com/node/45438
Submitted by irieyuusuke on Fri, 02/10/2017 - 03:45 Comment #3
If using apache, it is working correctly in Virtualmin 5.05.
BUT, if using NGINX, it is not working in Virtualmin 5.05.
Submitted by JamieCameron on Sat, 02/11/2017 - 01:25 Comment #4
So requesting a new cert works, but renewing fails?
Submitted by irieyuusuke on Sat, 02/11/2017 - 23:25 Comment #5
Yes it is.
Using nginx,
It is working correctly to request a new cert.
But not working automatically renewing,
※Of course, I entered "1" in the fields of 「Months between automatic renewal」
Submitted by stretch on Sun, 02/12/2017 - 06:27 Comment #6
YES!
Submitted by JamieCameron on Mon, 02/13/2017 - 21:07 Comment #7
We're about to release version 5.06 of Virtualmin plus an update to the Nginx plugin which should fix this.
Submitted by stretch on Tue, 02/14/2017 - 16:53 Comment #8
thanks, waiting for the release.
Submitted by irieyuusuke on Sat, 02/18/2017 - 22:58 Comment #9
Thank you, I'm waiting for the release.
Submitted by gnilebein on Tue, 02/28/2017 - 04:42 Comment #10
I think this should fix you problem:
in file /usr/share/webmin/virtual-server/feature-ssl.pl please change line 1975 from
next if (!$d->{'ssl'} || !$d->{'letsencrypt_renew'});
to
next if (!&domain_has_ssl($d) || !$d->{'letsencrypt_renew'});
Submitted by gnilebein on Mon, 07/17/2017 - 16:57 Comment #11
Is it posible that this issue is stil open? Certs still does not get renewed automaticaly...
My Setup: Ubuntu 16.04 Installe Versions:
root@server01:/etc# apt-show-versions webmin-virtual-server webmin webmin-virtualmin-nginx webmin-virtualmin-nginx-ssl nginx
nginx:amd64/xenial 1.12.1-1~xenial uptodate
webmin:all/virtualmin-universal 1.850 uptodate
webmin-virtual-server:all/virtualmin-universal 5.99.gpl uptodate
webmin-virtualmin-nginx:all/virtualmin-universal 2.2 uptodate
webmin-virtualmin-nginx-ssl:all/virtualmin-universal 1.5 uptodate
Submitted by JamieCameron on Mon, 07/17/2017 - 23:21 Comment #12
This will be fixed in the 6.00 release.