How to use client certificates for admin ui authentication #397
-
Hi! I'm trying to deploy dockerized EJBCA-CE solution with Nginx frontend. It works without problem, but the issue here is that anyone who have a valid client certificate (tusted by nginx frontend) has full admin access to Admin UI.
and added my client certificate with serial number:
now if I trying to access Admin UI via browser I get error msg: Maybe anyone could help me with this problem? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I've ran into this issue in the past. The only way I have gotten past this is to restart the EJBCA container after removing the public access token from the super admin role and adding an entry to the super admin role to authenticate with a certificate. After restarting the container this should work to login now with the certificate configured in the super admin role. |
Beta Was this translation helpful? Give feedback.
-
Any ideas? |
Beta Was this translation helpful? Give feedback.
The only thing that is standing out to me from my nginx config compared to yours is that in mine I have:
Can you try switching the variable for
SSL_CLIENT_CERT
to what I am using?