tazjin/kubernetes-letsencrypt

Key values mismatch in nginx

Closed this issue · 2 comments

Happened with one certificate, retrieving it again apparently fixed the bug:

2016/09/21 09:12:14 [emerg] 1#1: SSL_CTX_use_PrivateKey_file("/etc/nginx/tls/key.pem") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/nginx/tls/key.pem") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

A similar issue was discussed on Let's Encrypt forums.

Maybe there is something the controller can do after retrieving the certificates to ensure that the key and cert match?

When this issue occurs the key and certificate do in fact match. It just seems to happen randomly with a certain nginx + openssl combination. Probably not related to this project at all ...

Can't reproduce and is probably not an issue caused by the controller. Closing for now!