linux - SSL Certificate installation apache 2 not working -
i'm installing comodo certificate cheapssls.com. im getting following error:
ssl library error: 185073780 error:0b080074:x509 certificate routines:x509_check_private_key:key values mismatch
im 100% sure privatekey , csr same generation
im using follinwg syntax:
sslengine on sslcertificatekeyfile /usr/local/apache/conf/x-x-nl-new.key sslcertificatefile /usr/local/apache/conf/x_x_nl.crt sslcertificatechainfile /usr/local/apache/conf/x_x_nl.ca-bundle which correct im opinion.
anyone suggestions?
are key on pem format ?
it's needed apache : https://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcertificatekeyfile
pem base64 encoded certificate, enclosed between "-----begin certificate-----" , "-----end certificate-----".
you can check simple file editor
edit1:
you can check modulus ok make diff between cert modulus , key modulus command.
# change key , cert file name diff <(openssl rsa -in key -modulus -noout) <(openssl x509 -in cert -modulus -noout) you shouldn't have out put, if have some, key , certificate don't match.
Comments
Post a Comment