upgrading bitbucket 5.0 config errors Edited

We were using the following:

<Connector port="10443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxHttpHeaderSize="8192" SSLEnabled="true"
maxThreads="150" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" useBodyEncodingForURI="true"
SSLCertificateFile="C:/Apache24/ssl/SelfSigned2017.crt"
SSLCertificateKeyFile="C:/Apache24/ssl/SelfSigned2017.key"/>

<Connector port="10444" redirectPort="10443" enableLookups="false" protocol="AJP/1.3" URIEncoding="UTF-8"/>

 

I've tried  

server.port=10443
server.secure=true
server.scheme=https
server.ssl.enabled=true
server.ssl.client-auth=want
server.ssl.protocol=TLS
server.ssl.key-store=C:/Program Files/Java/jre1.8.0_121/lib/security/cacerts

but all i get is 

Caused by: org.springframework.boot.context.embedded.tomcat.ConnectorStartFailedException: Connector configured to listen on port 10443 failed to start

 

Update: I got it to start with the following-

server.port=10444
server.redirect-port=10443
server.ssl.protocol=AJP/1.3

server.additional-connector.1.port=10443
server.additional-connector.1.secure=true
server.additional-connector.1.scheme=https
server.additional-connector.1.ssl.enabled=true
server.additional-connector.1.ssl.protocol=TLSv1.2
server.additional-connector.1.ssl.key-store=C:/Atlassian/devkeys.jks
server.additional-connector.1.ssl.key-store-password=changeit
server.additional-connector.1.ssl.key-password=changeit
server.additional-connector.1.ssl.key-alias=devcode
server.additional-connector.1.ssl.client-auth=want
server.additional-connector.1.ssl.key-store-type=jks 

But now the issue is the AJP redirect. We're using apache as the proxy. I tried just server.protocol=AJP/1.3, but then it refuses to start. 

 

Update 2: And then I find out that AJP is no longer supported. I seem to have got it working with making apache just proxy to https://:10443 for the moment.

1 answer

This widget could not be displayed.

Hi  Josh, have you tried using a different port? To do so, you can follow the instructions at Changing the port that Bitbucket Server listens on.

Best regards!

Ana

 

I updated the post with the latest attempts that got it to start. Now I'm working on the redirect from apache.

Is there a config property for the redirect to use AJP?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Friday in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

169 views 9 2
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you