Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure private key and certificate match #851

Merged
merged 1 commit into from
Jun 13, 2017

Commits on Jun 13, 2017

  1. ensure private key and certificate match

    Adding an ingress tls secret with a non matching certificate and private key break at least the nginx-controller permanently until the offending secret is deleted.
    
    In that case nginx refuses to start/reload with an error like this:
    ```
    Error: exit status 1
    2017/06/13 12:16:53 [emerg] 51#51: SSL_CTX_use_PrivateKey_file("/ingress-controller/ssl/monsoon3-tls-baremetal-3-eu-de-1-cloud-sap.pem") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
    nginx: [emerg] SSL_CTX_use_PrivateKey_file("/ingress-controller/ssl/tls-baremetal-3-example-com.pem") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
    nginx: configuration file /tmp/nginx-cfg728491545 test failed
    ```
    databus23 committed Jun 13, 2017
    Configuration menu
    Copy the full SHA
    8304feb View commit details
    Browse the repository at this point in the history