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.
You could try converting it, as per Ethan's post, but if it's a client certificate, it's going to be useless to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Failed to connect to repository : Command "c:\program files \git\bin\git.exe Is remote -h ssh://git@git.vehraius.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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Maxxazo,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding Properties on Bit.bucket properties
server.port=8443
server.ssl.enabled=true
server.ssl.key-store=/path/to/keystore/bitbucket.jks
server.ssl.key-store-password=<password value>
server.ssl.key-password=<password value>
What should i do with Certificate of .P12...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Maxxazo,
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 \
-out ~/tomcat/keystore.p12
sudo /opt/atlassian/bitbucket/5.4.1/jre/bin/keytool -importkeystore \
-destkeystore ~/tomcat/ssl-keystore.jks \
-srckeystore ~/tomcat/keystore.p12 \
-srcstoretype pkcs12 \
-alias bitbucket.quckers.com
server.ssl.enabled=true
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, you need to give the password for the keystore, not the certificate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean you want to run Bitbucket with SSL?
Or that you need it to use a certificate to reach something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to run BitBucket URL with SSL certificate.
Client has given SSL Certificate fro bitbucket. Dont know how to install on BitBucket. Any Pointers?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not yet because you have not told me if you are trying to run Bitbucket over SSL, or you are trying to connect your Bitbucket to something that is SSL secured.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.