We have integrated Bitbucket Server behind Apache HTTP Server using SSL.
Apache HTTP Server requires a client certificate and set HTTP SSL_CLIENT_S_DN request header to Bitbucket with user DN extracted from given client certificate.
How can we configure Bitbucket to automatically authenticate user from this request header ?
Our user is managed in LDAP. Each one have an UUID as username.
@Jean-Yves CRONIER, were you able to find a solution for this? We have the same requirement.
We have developed a small module on Apache HTTP Server that performs an LDAP query to retrieve the UUID and password of the user from the DN of his certificate.
Next, we value the HTTP Authorization header of the request that the reverse-proxy returns to Bitbucket.
As a result, Bitbucket is able to automatically authenticate the user according to the configured LDAP settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.