hawkbit
hawkbit copied to clipboard
ControllerPreAuthenticatedSecurityHeaderFilter: add ingress-nginx auth-tls-* annotations support
It is possible to enable Client Certificate Authentication using additional annotations in Ingress Rule.
The following headers are sent to the upstream service according to the auth-tls-* annotations:
-
ssl-client-issuer-dn: The issuer information of the client certificate. Example: "CN=My CA" -
ssl-client-subject-dn: The subject information of the client certificate. Example: "CN=My Client"
This PR adds support for this annotations without any global changes, you just need to overwrite the following properties:
hawkbit.server.ddi.security.rp.cnHeader and hawkbit.server.ddi.security.rp.sslIssuerHashHeader.
Can one of the admins verify this patch?