The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket authentication using LDAP and Client Certificate DN

Jean-Yves CRONIER
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 8, 2017

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.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Saqib
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2019

@Jean-Yves CRONIER, were you able to find a solution for this? We have the same requirement.

jcron
February 1, 2019

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.

Ravi GH
Contributor
September 27, 2019

Will it allow you to do the https git operations using the mirror as well ( using SSL cert based auth)

TAGS
AUG Leaders

Atlassian Community Events