Using the official Atlassian Bitbucket image I've written a docker-compose file, which gets Bitbucket working with SSL via an Nginx container.
Everything works well except when I attempt to configure the Active Directory integration using SSL (non SSL AD traffic over 389 works fine).
When I click "Save and Test" I get an error:
"Connection test failed. Response from server:
<servername>:636; nested exception is javax.naming.CommunicationException: <servername:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: uname to find valid certification path to requested target]"
I've tried mounting the host CA certificates into the Bitbucket container at /etc/ssl/ca-certificates.pem, however this didn't resolve the issue.
Does anybody have any ideas as to how to resolve this issue with the Bitbucket container?