After upgrade OLS to 1.8 branch by lsup.sh, i unexpectedly saw, that my active and valid Lets Encrypt сertificate for domain mail.kr-labs.com.ua was changed with Litespeed self-signed cert.
The paths to VirtualHost and Listener SSL were saved, but for some reason the content of the LE certificate itself was replaced with a self-signed Litespeed certificate:
When i review my actual cert with Certbot, he explain me this:
I solved this problem by deleting all dirs with LE certificates and reissuing their with Certbot. But why does OLS interfere with the integrity of the LetsEncrypt files and change them? It could have created a separate file with a self-signed certificate.
Explain to me if I have missed any points.
The paths to VirtualHost and Listener SSL were saved, but for some reason the content of the LE certificate itself was replaced with a self-signed Litespeed certificate:
Code:
/etc/letsencrypt/live/mail.kr-labs.com.ua/fullchain.pem
Bash:
openssl s_client -connect mail.kr-labs.com.ua:995 -showcerts
CONNECTED(00000003)
depth=0 CN = kr-labs.com.ua, C = US, L = Virtual, O = LiteSpeedCommunity, OU = Testing, ST = NJ, emailAddress = mail@kr-labs.com.ua, name = openlitespeed, initials = CP, dnQualifier = openlitespeed
verify error:num=18:self signed certificate
verify return:1
depth=0 CN = kr-labs.com.ua, C = US, L = Virtual, O = LiteSpeedCommunity, OU = Testing, ST = NJ, emailAddress = mail@kr-labs.com.ua, name = openlitespeed, initials = CP, dnQualifier = openlitespeed
verify return:1
---
Certificate chain
0 s:/CN=kr-labs.com.ua/C=US/L=Virtual/O=LiteSpeedCommunity/OU=Testing/ST=NJ/emailAddress=mail@kr-labs.com.ua/name=openlitespeed/initials=CP/dnQualifier=openlitespeed
i:/CN=kr-labs.com.ua/C=US/L=Virtual/O=LiteSpeedCommunity/OU=Testing/ST=NJ/emailAddress=mail@kr-labs.com.ua/name=openlitespeed/initials=CP/dnQualifier=openlitespeed
Code:
sudo certbot certificates
Renewal configuration file /etc/letsencrypt/renewal/mail.kr-labs.com.ua.conf produced an unexpected error: fullchain does not match cert + chain for mail.kr-labs.com.ua!. Skipping.
I solved this problem by deleting all dirs with LE certificates and reissuing their with Certbot. But why does OLS interfere with the integrity of the LetsEncrypt files and change them? It could have created a separate file with a self-signed certificate.
Explain to me if I have missed any points.