Skip to Content

For SSL key values mismatch issue, there are two main reasons. Error message about X509_check_private_key:key values mismatch root@s17925268:~# service nginx restartRestarting nginx: nginx: [emerg] SSL_CTX_use_PrivateKey_file(“/etc/nginx/conf.d/ssl/ssl.key”) failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch) nginx: configuration file /etc/nginx/nginx.conf test failed Failed to load private key from ./envoy/test/extensions/transport_sockets/tls/test_data/san_dns2_key.pem, Cause: error:0b000074:X.509 certificate routines:OPENSSL_internal:KEY_VALUES_MISMATCH Thu Jul 28 17:55:12 2016 OpenSSL: …

Read More about 2 ways to fix x509 certificate routines:X509_check_private_key:key values mismatch

A PFX file is a certificate in PKCS#12 format. It contains the SSL certificate (public keys) and the corresponding private keys. Most of the Certificate Authorities will not issue certificates with the private key. They just issue and share the certificates in .cer, .crt, and .p7b formats which don’t have the private key in most …

Read More about How to convert pfx to pem