Moving to HTTPS

Connex Ontario December 5, 2012

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

0 votes
twong_atlassian
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.
December 7, 2012

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

0 votes
Andy Brook [Plugin People]
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.
December 5, 2012

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?

Suggest an answer

Log in or Sign up to answer