Moving to HTTPS

Hello

I am trying to get JIRA running with an SSL and having trouble.

The end result I get when trying to access https://localhost:8443 is this: Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.

I have followed the instructions here on trying to import the certificate: https://knowledge.geotrust.com/support/knowledge-base/index?page=content&id=SO15323

This is exactly what I have run to try and accomplish this:

C: Program Files Atlassian JIRA jre bin>keytool -import -alias primary -trustcac

erts -file C: Users username Desktop GeoTrust_Primary_CA.cer -keystore ssl.jks

Enter keystore password:

Re-enter new password:

Certificate was added to keystore

C: Program Files Atlassian JIRA jre bin>keytool -import -alias secondary -trustc

acerts -file C: Users username Desktop GeoTrust_Secondary_CA.cer -keystore ssl.

jks

Enter keystore password:

Certificate was added to keystore

C: Program Files Atlassian JIRA jre bin>keytool -import -alias wildcard -trustca

certs -file C: Users username Desktop wildcard_x509.crt -keystore ssl.jks

Enter keystore password:

Certificate was added to keystore

And this is my server.xml file:

<connector port="8443" <="" p="">

protocol=org.apache.coyote.http11.Http11Protocol

maxHttpHeaderSize=8192

SSLEnabled=true

maxThreads=150

minSpareThreads=25

maxSpareThreads=75

enableLookups=false

disableUploadTimeout=true

acceptCount=100

scheme=https

secure=true

clientAuth=false

sslProtocol=TLS

keystoreFile=C: Program Files Atlassian JIRA jre bin ssl.jks

keystorePass=xxxxx

useBodyEncodingForURI=true/>

My HTTP connections still work but I am at a loss as to why HTTPS does not appear to work at all.

Please help!

Thanks

Ryan

2 answers

From the server, try telnetting to 8443, with 'telnet localhost 8443' , if you dont get a connection, your config failed. This can be for several reasons, there could be another? process already using the control port 8005 which stops the other configuration from running. Try telnetting to 8005 before you launch the SSL config, if you get a connection, that could be why, just chnage the port.

Also, there could well be a problem loading the certificate, what is in the catalina logs regarding this?

Tossing up your logs might be helpful. Atlassian Support can also help you out if you wish to open a support ticket

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

21 views 0 1
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