Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

New SSL Certificate Not Loading in Bitbucket Server

Engineering Services July 18, 2022
We have uploaded the new SSL Certificate for Bitbucket in the linux server and when we try to start the bitbucket server we are getting below error 
We use bitbucket.properties that only refer the pfx file(new file)
PFB - Error 

Description:

The Tomcat connector configured to listen on port 443 failed to start. The port may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's listening on port 443, or configure this application to listen on another port.

2022-07-18 10:42:11,490 INFO  [main]  c.a.b.i.boot.log.BuildInfoLogger Bitbucket 5.12.0 has shut down

Whenever we tried to install the new certificate. the java process is not listening on 443 and getting the log as port utilized by some other service. we have also checked the 443 has not been used for any service

1 answer

0 votes
Mahesh Shinde
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2022

Hi @Engineering Services :

As per the error, its not related to certificate issue. Please, find the process which is using port 443, It looks like there is a different application using that port (usually nginx or apache)

Check this site: https://confluence.atlassian.com/bitbucketserver/securing-bitbucket-server-with-tomcat-using-ssl-776640127.html

Please, use below commands:

sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn 

 

By the way i would recommend using an apache or nginx reverse proxy configuration: https://confluence.atlassian.com/bitbucketserver/proxying-and-securing-bitbucket-server-776640099.html

 

Regards,

Mahesh Shinde

Engineering Services July 20, 2022

Mahesh, thanks for your suggestion.

When we checked from our end we could see whenever we install the certificate and starting the bitbucket service. It is started with different port number and it is not listening on port 443. We have also verified that 443 is not been used by any services.

Regards,

Ram

Engineering Services July 20, 2022

Team the issue got fixed after creating a new PFX file and updated in the server.

Like Mahesh Shinde likes this
Mahesh Shinde
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2022

Glad to hear, that issue got fix.

Engineering Services July 21, 2022

Thanks Mahesh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events