Skip to content

How to configure this nginx proxy to accept self-signed SSL certificates from a container? #398

Closed Answered by uwla
uwla asked this question in Q&A
Discussion options

You must be logged in to vote

Just to update, here is how I solved the problem:

docker container cp <container_name>:/etc/ssl/private/my.key data/certs/mydomain.test.key
docker container cp <container_name>:/etc/ssl/certs/my.crt data/certs/mydomain.test.crt

Where my.key and my.crt are the certificate files in the container and mydomain.test is the local domain.

I just copied the certificates from inside the container (which generated them upon build) to the path where the NGINX proxy stores the certificates.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@uwla
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by uwla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants