Hi all,
how to disable deprecated TLSv1.0 and 1.1 for docker image in compose yml? (and also weak/deprecated ciphers)
It’s stated here https://community.atlassian.com/t5/Bitbucket-questions/How-to-disable-TLS1-0-and-1-1-on-Bitbucket/qaq-p/1038891 what I can implement in a running container (in ../shared/bitbucket.properties), but what about the initial docker compose options? (I guessing some ‘environment’ options need to be set)
Hey @DIP IT Team
For most bitbucket.properties entries, the magic of Spring Boot will let you specify equivalent environment variables to apply their configuration.
For example, from the post you linked:
server.ssl.enabled=true
server.ssl.enabled-protocols=TLSv1.2
These can be set as environment variables, by substituting underscores for dots/dashes and using uppercase:
SERVER_SSL_ENABLED=true
SERVER_SSL_ENABLED_PROTOCOLS=TLSv1.2
Set that up in your environment / in your docker compose file and you should be all set!
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.