I am trying to deploy snipeit (along with mariadb, letsencrypt and watchtower) using ansible. Everything worked fine until the ssl certificate.
Expected Behavior
letsencrypt certificate should work (wildcard certificate, working on other apps).
Current Behavior
snipeit doesn load and in the logs there is this error message:
nginx: [emerg] SSL_CTX_use_PrivateKey("/config/keys/cert.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Steps to Reproduce
In the documentation we have the location of the certificate files:
/config/keys/cert.crt /config/keys/key.crt
But using these, I get the error above.
They should be:
/config/keys/cert.crt /config/keys/cert.key
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am trying to deploy snipeit (along with mariadb, letsencrypt and watchtower) using ansible. Everything worked fine until the ssl certificate.
Expected Behavior
letsencrypt certificate should work (wildcard certificate, working on other apps).
Current Behavior
snipeit doesn load and in the logs there is this error message:
nginx: [emerg] SSL_CTX_use_PrivateKey("/config/keys/cert.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Steps to Reproduce
In the documentation we have the location of the certificate files:
/config/keys/cert.crt /config/keys/key.crt
But using these, I get the error above.
They should be:
/config/keys/cert.crt /config/keys/cert.key
Using these files, everything works just fine.