ItsOnlyMe
Verified User
Hi,
We have a issue that is playing a long time now and this is starting to be a big issue.
We are using the newest version of letsencrypt.sh but every now and then when renewals are being done for these certificates and, if that fails for whatever reason the private key and certificate do not match anymore what is causing apache to go down and not start anymore until we remove the certificate at the domein and disable SSL for it.
Now i could make a script for this to filter out the httpd.conf for users if this trows a error but that's not a solution i would recommend to implement in a production environment. Can this be fixed by Directadmin or are we forced to solve this our self?
Kind regards,
We have a issue that is playing a long time now and this is starting to be a big issue.
We are using the newest version of letsencrypt.sh but every now and then when renewals are being done for these certificates and, if that fails for whatever reason the private key and certificate do not match anymore what is causing apache to go down and not start anymore until we remove the certificate at the domein and disable SSL for it.
Code:
[Thu Aug 10 12:20:08.025213 2017] [ssl:emerg] [pid 936489:tid 140409571129472] AH02565: Certificate and private key yyy-zzzz.xxx:443:0 from /usr/local/directadmin/data/users/XXXXXXXX/domains/yyy-zzzz.xxx.cert and /usr/local/directadmin/data/users/XXXXXXXX/domains/yyy-zzzz.xxx.key do not match
[Thu Aug 10 12:21:02.026850 2017] [ssl:emerg] [pid 937141:tid 139909666437248] AH02565: Certificate and private key yyy-zzzz.xxx:443:0 from /usr/local/directadmin/data/users/XXXXXXXX/domains/yyy-zzzz.xxx.cert and /usr/local/directadmin/data/users/XXXXXXXX/domains/yyy-zzzz.xxx.key do not match
[Thu Aug 10 12:21:08.022860 2017] [ssl:emerg] [pid 937266:tid 139632756832384] AH02565: Certificate and private key yyy-zzzz.xxx:443:0 from /usr/local/directadmin/data/users/XXXXXXXX/domains/yyy-zzzz.xxx.cert and /usr/local/directadmin/data/users/XXXXXXXX/domains/yyy-zzzz.xxx.key do not match
Now i could make a script for this to filter out the httpd.conf for users if this trows a error but that's not a solution i would recommend to implement in a production environment. Can this be fixed by Directadmin or are we forced to solve this our self?
Kind regards,