linux + config.sh + console (try to setup https access)

Lala Deviluke September 24, 2012

Hello!

I try to setup Jira to use HTTPS... via this documentation https://confluence.atlassian.com/display/JIRA/Running+JIRA+over+SSL+or+HTTPS ... but when i run "config.sh" there i have just 5 options and no "Web Server" option:

[H] Configure JIRA home

[D] Database selection

[A] Advanced settings

[S] Save and exit

[X] Exit without saving

How else i can run Jira with https support?

(gentoo no X)

2 answers

1 accepted

1 vote
Answer accepted
FagnerF
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.
September 24, 2012

Hi Lala,

Installing JIRA over SSL or HTTPS sometimes can be a little bit trick, but It can be simpler following Integrating JIRA with Apache.

Also check in JiraDirectory/install/conf/server.xml if there is the following configuration

Server.xml
 
<Connector port="8443" maxHttpHeaderSize="8192"
       maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
       enableLookups="false" disableUploadTimeout="true"
       acceptCount="100" scheme="https" secure="true"
       clientAuth="false" sslProtocol="TLS" SSLEnabled="true"
       URIEncoding="UTF-8" keystoreFile="/tmp/.keystorefile" keystorePass="changeit" keyAlias="mybank"/>

Important things to look for in this file:

  • redirectPort=8443: In the event that SSL traffic is requested, forward traffic to this port (listed above as 8443)
  • keystoreFile="/tmp/.keystorefile" - This tells tomcat where the keystore to use is. If this is omitted, then tomcat will assume that it should use the default keystore ($USER_HOME/.keystore)
  • keystorePass="changeit"- Tells tomcat to use the following password to access the keystore. If omitted, it will try the default password ("changeit")
  • keyAlias="mybank"- Present the certificate with this name to clients using this port.

I hope this clarifies your doubts.

Kind Regards

Lala Deviluke September 25, 2012

Thank you, but i don't use Apache. But any way, your post send me in the right way too.

But i have a new problem, http://XXXX:8080 redirects me to https://XXXX:8443 and nothing more (firefox: "Unable to connect") and no errors in "catalina.out"

---

Now i'm here https://answers.atlassian.com/questions/32575/jira-over-https

dont understand where to go =) Gone to read about SSL

FagnerF
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.
September 25, 2012

Hi Lala,

I'm glad you have done by yourself and get done! Congratulations!

Kind Regards

1 vote
PauloP
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.
September 24, 2012

Hi Lala

Seems to me that this option will be available just for JIRA 5.2, which is under early access program, yet. So, I'd suggest to use the following link as your guideline.

https://confluence.atlassian.com/display/JIRA050/Running+JIRA+over+SSL+or+HTTPS

Please let us know the new questions and doubts related to it.

Cheers,

Paulo Renato

Lala Deviluke September 25, 2012

Yes, that what i need. Thank you.

Suggest an answer

Log in or Sign up to answer