Tag: OpenSSL

nginx SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

This error can happen for a chain of certificates merged in one .crt file. The reason is that nginx tries to apply a private key to the first certificate in a crt file. nginx needs that the first certificate in a .crt file would be a server certificate. Thus the correct order in a .crt …

Continue reading

How to convert pfx certificate to Apache pem

Apache server requires the following two files for SSL configuration: 1 – Server.key : the private key associated with the certificate 2 – Server.crt :  the public SSL certificate issued by trusted authority If you have one .pfx file instead of two above (in fact the .pfx is certificate + private key combined into one …

Continue reading