You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(don't know why I'm still using the php version, since I'm running my own fpm server)
2. What are you trying to do?
I'm hosting some services mainly in Docker containers and using Caddy as reverse proxy.
I want to secure some subdomains with client cert authentication. (certs are accepted as valid client authentication by caddy)
3. What is your Caddyfile?
(Removed some hosts, because they are all configured almost the same and replaced my root domain with <domain>)
Server asks me for client cert when entering admin.<domain> or private.<domain>.
6. What did you see instead (give full error messages and/or log)?
With admin.<domain> it works like a charm, but when entering p.<domain>, it redirects me to private.<domain> (like it should) but it only displays "403 Forbidden" and not asks me for a certificate.
When requesting p.<domain> the following shows up in docker logs -f caddy:
1. Which version of Caddy are you using?
abiosoft/caddy:php-no-stats
sha256:458bd53bc567430cadd65a8d7e9a0dfc0c28ee5d4f9a9d5cf854d3dde4edeef9
(don't know why I'm still using the php version, since I'm running my own fpm server)
2. What are you trying to do?
I'm hosting some services mainly in Docker containers and using Caddy as reverse proxy.
I want to secure some subdomains with client cert authentication. (certs are accepted as valid client authentication by caddy)
3. What is your Caddyfile?
(Removed some hosts, because they are all configured almost the same and replaced my root domain with <domain>)
snippets/tls:
snippets/tls-client-verify:
(I'm using an existing wildcard cert from letsencrypt (valid, of course))
snippets/sec-headers:
4. How did you run Caddy (give the full command and describe the execution environment)?
With Docker Compose on Ubuntu Server LTS 18.04:
docker-compose version 1.17.1, build unknown
docker-py version: 2.5.1
CPython version: 2.7.15+
OpenSSL version: OpenSSL 1.1.1c 28 May 2019
5. What did you expect to see?
Server asks me for client cert when entering admin.<domain> or private.<domain>.
6. What did you see instead (give full error messages and/or log)?
With admin.<domain> it works like a charm, but when entering p.<domain>, it redirects me to private.<domain> (like it should) but it only displays "403 Forbidden" and not asks me for a certificate.
When requesting p.<domain> the following shows up in docker logs -f caddy:
with the first domain given in the error message (here: cloud.<domain>) beeing different at every server restart.
The error.log itself (declared in snippets/logging) doesn't contains anything related to this issue.
The text was updated successfully, but these errors were encountered: