Nginx restart is required since a cert renewal.
Directadmin is smart enough and does a test of the nginx configuration, if a test fails directadmin won't force to restart nginx. If directadmin would not check nginx configuration and force restarting, then nginx would not simply start and you would get you web-server down.
If you see an old cert in a browser, when you are 100% sure that the cert was renewed...
If a site with a newly subdomain or domain shows a blank page with "Nginx is functioning normally" instead of expected content... then it would mean that nginx was not restarted.
Actually you have 3 options:
1. install pre-release binary
2. manual renew through directadmin interface per domain
3. for bulk updates use the guide in the post #203
Bit confused by your answer, where did the part about Nginx came from? My certs begin to expire one by one, DirectAdmin didn't replace them although it send me mails it did renew the certs. Nginx had been restarted a few times since that mail, so there wasn't a problem with nginx?
nginx -t
I can't use the pre-release thing, because I can't login to that Client-page. Bought my license through a hosting company in the Netherlands.
Are you sure that Directadmin renewed your cert?
/usr/local/directadmin/scripts/letsencrypt.sh request somedomain.be 4096 | egrep -o '{[^{]*"type":"http-01"[^}]*'`"
>
For some reason, this line of the script fails: CHALLENGE="`echo "${RESPONSE}" | egrep -o '{[^{]*"type":"http-01"[^}]*'`"
If I try the egrep in command line, it shows that the line is not correct:
Any ideas?
There is no need to install the pre-release. The problem is fixed by changing one line of code, instructions here: http://forum.directadmin.com/showthread.php?t=53238&p=273107#post273107
They say Let's Encrypt was marked as a BETA-feature, that's why they don't want to push out an update just for this. I think they could have done it looking at the scale on which it's used, but okay, I respect their decision. At least an easy fix is published now.
Thanks, I have changed the line. How to renew the certs as for now all of my certs are expired?
I have run:
./letsencrypt.sh renew mydomain.com 4096
and I got the message saying that Certificate for mydomain.com has been created successfully!
but it's not?
echo "action=rewrite&value=letsencrypt" >> /usr/local/directadmin/data/task.queue
Don't know about that. I just do it in the control panel.
No. If I do this using the control panel, I'm actually installing a new one, not renewing it.