ssl certificates not in line with nginx-proxy requirement for folder structure #1246
Unanswered
phill44-source
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
This is almost always a VIRTUAL_HOST vs LETSENCRYPT_HOST mismatch. nginx-proxy expects cert files at the root of the certs directory named exactly as the virtual host (example.com.crt, example.com.key). If acme-companion is generating subdirectory paths, the LETSENCRYPT_HOST value on one of your containers doesn't match what nginx-proxy is looking for. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently have the problem that when I have multiple containers with different virtual(or letsencrypt)-hosts (Domains) all certificates and keys are stored in /etc/nginx/certs// instead of being directly named _cert/_chain/_key.pem. This appears to make the nginx-proxy container not recognize the ssl-certificates and as such writes "# No certificate for this vhost nor default certificate found, so reject SSL handshake." in the default.conf file.
How can I solve this?
Beta Was this translation helpful? Give feedback.
All reactions