pomerium/docs/partials/client-cert-alt-port.md
Alex Fornuto 3bd73be534
Update mTLS guide (#2788)
* version 0.9 is old enough as to not warrant reference

* copy edits and formatting

* Consolidate 'before you begin' and warn that mkcert is for development.

* update and refresh

* add troubleshooting partial

* standardize img path for partial

* Apply suggestions from code review

Co-authored-by: Travis Groth <travisgroth@users.noreply.github.com>

* clarify all route mtls config

* remove troubleshooting section

This commit requires that the PR **not** be backported, since the fix that negates this workaround will not be backported.

Co-authored-by: Travis Groth <travisgroth@users.noreply.github.com>
2021-12-27 16:23:58 -06:00

597 B

Route doesn't ask for certificate

When Pomerium is configured to listen on alternate ports (as opposed to the standard 443 for TLS traffic), the route-specific mTLS keys tls_downstream_client_ca and tls_downstream_client_ca_file will not work. The route will not request the client certificate, resulting in an immediate HTTP 495 error:

HTTP error code 495

This is a known bug. Until it is resolved, mTLS must be set for all routes using client_ca or client_ca_file when using alternate ports.