ssl certificates not in line with nginx-proxy requirement for folder structure #1246
Replies: 2 comments 2 replies
-
|
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.
-
|
@phill44-source please provide your full configuration (nginx-proxy container, acme-companion container, proxied container(s)) and the resulting folder structure in |
Beta Was this translation helpful? Give feedback.
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