Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy from NGINX to Keycloak with 2FA

May 03, 2018 03:55AM
Hi Francis,

Thanks for your reply.

I have tried with tcp port forwarder ("stream") but my host is changed to the client's url, which directly sends me to Keycloak, which I do not want to have direct access to Keycloak, so I use proxy.

Keycloak has been configured to verify a client certificate that needs its CN to be identically with the username you enter, normally have keystore and truststore installed to check from whom it was issued and signed (which is associated with Key Management System for whether it is invalid or revoke).

I have done it and can NGINX check the client certificate (I add these things: ssl_client_certificate path-of-root-ca, and ssl_verify_client on), whether it has been issued and signed by my PKI Key Management System, but the problem is that the user can submit a certificate from one user, and in Keycloak to announce with another. I want to stop this thing, so I have a full 2FA. Keycloak is the only one to check it.

I want to ask you, can the client certificate that is attached to NGINX through the ssl_verify_client option be forwarded to Keycloak?

Best regards,
Goce Joncheski
Subject Author Posted

Reverse proxy from NGINX to Keycloak with 2FA

Joncheski April 23, 2018 04:43AM

Re: Reverse proxy from NGINX to Keycloak with 2FA

Francis Daly April 30, 2018 06:38PM

Re: Reverse proxy from NGINX to Keycloak with 2FA

Joncheski May 03, 2018 03:55AM

Re: Reverse proxy from NGINX to Keycloak with 2FA

Francis Daly May 04, 2018 09:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 269
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready