How could I handle something like this:
Secure an internal site with mTLS client certs.
But if a cert is invalid/missing, redirect to a portal with username password that generates the cert?
With a mTLS config like this I think it is not possible currently, and I would need something in front of it?
internal.example.com:443 {
tls {
provider manual
cert “/etc/ssl/certs/internal.example.com.crt”
key “/etc/ssl/private/internal.example.com.key”
min_version TLSv1.3
max_version TLSv1.3
client_auth true
client_auth_ca "/etc/ssl/internal-ca-bundle.pem"
}
proxy http://127.0.0.1:9000
}