TLS Wiki documentation doesn't work #846
Unanswered
seannie-sharko
asked this question in
Getting Help
Replies: 3 comments 7 replies
-
Same for me unfortunately |
Beta Was this translation helpful? Give feedback.
0 replies
-
What are the errors you are seeing? Could you post your configuration? |
Beta Was this translation helpful? Give feedback.
2 replies
-
So I just tested this again and couldn't reproduce this error. Here is the configuration I used: version: '3.4'
services:
tls:
image: caddy:2-alpine
depends_on:
- netbox
volumes:
- ./Caddy/netbox.example.org.pem:/etc/ssl/private/cert.crt:ro,z
- ./Caddy/netbox.example.org-key.pem:/etc/ssl/private/key.key:ro,z
- ./Caddy/Caddyfile:/etc/caddy/Caddyfile:ro
ports:
- 8080:80 # Allows for http redirection
- 8443:443 Caddyfile:
The certificate was created with: mkcert netbox.example.org |
Beta Was this translation helpful? Give feedback.
2 replies
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've spent hours following along on the Wiki page and I can safely say, the explained tutorial does not work using Caddy.
Public-->Local ports have been forwarded on my router.
I have a valid .crt I've created using a trusted CA, however HTTPS will not resolve after 'docker-compose up'.
The URLs in my ./Caddyfile match those of ALLOWED_HOSTS and I've added my .crt and .key to ./cert.crt and ./key.key, respectively.
Has anyone else been successful with this?
Beta Was this translation helpful? Give feedback.
All reactions