>Install SSL certificate for BitBucket.
That still does not answer the question, but the next bit finally does.
Next question - do you want to make Bitbucket run itself over https, or do you want to put it behind a proxy that does all the SSL for you?
I am working on the same issue. If your trying to be all Atlassian about the set up like I am this link will help you.
Else you can install NGINX or Apache and proxy the connection through either one of them.
If I remember when I am done with my setup I will post what I did.
This stack overflow post should help you out a lot. It saved my day. Stackoverflow certificate not X.509
BTW you make the password for your keystore. Make sure your bitbucket.properties are set to read your custom alias.
openssl pkcs12 -export \
-name bitbucket.quckers.com \
-in ~/bitbucket_quckers_com/bitbucket_quckers_com.crt \
-inkey ~/bitbucket.key \
sudo /opt/atlassian/bitbucket/5.4.1/jre/bin/keytool -importkeystore \
-destkeystore ~/tomcat/ssl-keystore.jks \
-srckeystore ~/tomcat/keystore.p12 \
-srcstoretype pkcs12 \
server.ssl.key-alias=bitbucket.quackers.com # See same alias that is specified in the last command stated above.
server.ssl.key-store=/var/atlassian/application-data/bitbucket/shared/config/ssl-keystore.jks # If you leave off the .jks bitbucket has that path set by default.
server.ssl.key-store-password=lk # password set in process above.
server.ssl.key-password=lkj # password set in process above.
If you follow the docs from here you should be good.
@Maxxazo Side note please don't post 50,000 times in a row to fill up my mail box with notifications. Have some respect, were all busy.
Is there any error in below bitbucket.properties? server.port=80 server.ssl.enabled=true server.require-ssl=true server.secure=true server.ssl.key-store=D:/Atlassian/ApplicationData/Bitbucket/shared/config/ssl-keystore/<cert name>
server.ssl.key-store-password=changeit server.ssl.key-store-type=pkcs12 server.ssl.key-password=given server.ssl.client-auth=need
Ok, it seems you're quite confused here.
If you are trying to run Bitbucket over https, and without a proxy, then Ethan's answer is what you need.
However, you've been given a .p12 certificate which is usually a client certificate for connecting to other systems, not for running a server with https. I'd be very surprised if your .p12 contains a server certificate.
Failed to connect to repository : Command "c:\program files \git\bin\git.exe Is remote -h ssh://email@example.com:7999/dmp/hybris.git HEAD" returned status code 128:stdout stderr: ssh:connect to host git.vahraius.com port 7999:Connection refused fatal: Could not read from remote repository. Please make sure you have right access and repository exists.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs