linuxserver / docker-snipe-it

Alpine/Nginx container for the Asset Management software Snipe-IT
GNU General Public License v3.0
123 stars 26 forks source link

certificate file location/name wrong in the documentation #40

Closed iuliandita closed 1 year ago

iuliandita commented 2 years ago

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.

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] commented 2 years ago

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.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity