Confluence SSL issues


I'm trying to get Confluence (CentOS6, Confluence 6.2) running over SSL (using and I'm having a difficult time getting it to work.

I've created the certificate, got a signed certificate back from our CA (which is an internal CA) and the keystore is in root home dir. I think I'm following the ncessary steps (having to import a root certificate and a subroot certificate from our CA otherwise it gives an error ('Failed to establish chain from reply').

I've run the commands and seemingly successfully imported the root, subroot and reply, configured server.xml and I thought I was getting somewhere when I was able to telnet into port 8443 but when I try to connect, the browser never loads the website properly (seems to open port 8443 in borwser but never loads the website - stays like this indeifintely - I've actually noticed this behaviour exists even if I don't import any certificates and configure server.xl for port 8443 only).

I'm not sure what I'm doing wrong - it seems like it should be a simple process but something is not right. Where should I start to sort this out? I was wondering if the keystore location being in root home might be an issue (apparnetly tomcat is expecting to be in the home of whatever user is running tomcat but I'm not sure how to determine that). It could also be something to do with imported certificate chain.

I'm also wondering if the version of keytool has any bearing - there appear to be multiple instances of keytool on the server (not sure if they are different or not).

Any other advice?



1 answer

Under linux, to find the user a process is running as use the command "ps aux". In this scenario you can run "ps aux | grep tomcat" and it will show only the process info for tomcat. I'm pretty new to Jira myself, so I can't comment on the other aspects of your issue but I'm pretty familiar with linux. And you're right, Jira usually runs under the "jira" user (unless you configured it differently) and the jira user doesn't have access to anything in /root. You'll probably need to move your keystore to /home/jira and make sure the file ownership is correct.

Jeff - thanks for your reply. although I was doing Confluence rather than JIRA, you pointed me in completely the right direction. It seemed to all be about the keystore file and access to it.

I feel somewhat silly as I'd actually thought along those lines but hadn't tried moving it until your reply.

Thanks for your advice - I created a directory, changed permissions and moved the keystore there - this seemed to do the trick!

Great! Glad that helped. Have you by chance done the db in ssl too? I'm having an issue of my own.



Jeff - sorry - haven't tried that as yet.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,402 views 2 13
Read article

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