SSL: error:0B080074:x509 certificate routines:X509

错误提示:

nginx: [emerg] SSL_CTX_use_PrivateKey_file("/home/ssl/server.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

原因在于:顺序不对

原来是:

cat  asd_com.ca-bundle asd_com.crt > asd_2015_ssl.crt

应该为:

cat  asd_com.crt  asd_com.ca-bundle > asd_2015_ssl.crt

你可能感兴趣的:(SSL: error:0B080074:x509 certificate routines:X509)