First, thanks very much for Turnkey Linux which is a great way for me to learn lot of things with linux, virtulalization, webserver etc... :-)
In my autolearning life with Turnkey LAMP server, I encountered an issue with the deshydrated script to renew let's encrypt certifcate using the confconsole or using the '/usr/lib/confconsole/plugins.d/Lets_Encrypt/dehydrated-wrapper -f' command.
Wrong Domain Name in the certificate using deshydrated script
Hi,
First, thanks very much for Turnkey Linux which is a great way for me to learn lot of things with linux, virtulalization, webserver etc... :-)
In my autolearning life with Turnkey LAMP server, I encountered an issue with the deshydrated script to renew let's encrypt certifcate using the confconsole or using the '/usr/lib/confconsole/plugins.d/Lets_Encrypt/dehydrated-wrapper -f' command.
The script seems to work find
My apache conf contains this line :
But when I go to the site, https://revp01.mydomain.com
I got this issue : the certificate is for the name "mydomain.com" and not "revp01.mydomain.com"
And the certificate is not valid because the script renew for good reason the "revp01.mydomain.com"
But a wrong certificate is used...
I don't understand why and want to reset this from scratch but I don't know how to do this...
I tried to delete :
/usr/local/share/ca-certificates/cert.crt
and
/etc/ssl/private/cert.key
Then renew the certificate with the "/usr/lib/confconsole/plugins.d/Lets_Encrypt/dehydrated-wrapper -f" command
But it doesn't change anything...
Can you tell me how to reset from scratch the certificate used by the webserver and correctly renew the certificate with the good subdomain "name" ?
Thanks in advance...