jira access via https (443) port issue

hi

my jira address is https://203.120.121.167:8443/secure/Dashboard.jspa

i want chage it to https://203.120.121.167/secure/Dashboard.jspa

how can i do this.

thanks and regards.

(server.txt)

4 answers

1 accepted

hi guys, thanks for all your anwsers.

i re-install the jira on port 80 and use port 443 for ssl protocol.

the issue had been fixed.

Hello Xiang,

please see under {application-directory}/conf/server.xml

<Service name="Catalina">
        <Connector port="443"
                   maxThreads="150"
                   minSpareThreads="25"
                   maxSpareThreads="75"
                   connectionTimeout="20000"
        ...



When you change the port in connector-configuration your Tomcat need a reboot.

A better way is to install a apache webserver in front. The Apache does handle SSL and proxy any permitted request to 127.0.0.1:8080 (HTTP only). Your firewall allow only port 443 for accessing from outside.


Best regards
MarC

hi marc

i change the port, it doesn't direct to jira.just tell me i can not access the folder.

can you tell me the details on how the Apache handle ssl.

thanks in advance.

Hi, can you confirm if the firewall is open on port 443? I wouldn't really introduce Apache with just one instance. It introduces overhead for no reason.

The config MarC provided should work. Maybe you can post your server.xml if you've made other changes.

attached is the server.xml file.

kindly help me review.

Hello Xiang,



please see under {application-directory}/conf/server.xml

<Service name="Catalina">
        <Connector port="443"
                   maxThreads="150"
                   minSpareThreads="25"
                   maxSpareThreads="75"
                   connectionTimeout="20000"
        ...

When you change the port in connector-configuration your Tomcat need a reboot.

A better way is to install a apache webserver in front. The Apache does handle SSL and proxy any permitted request to 127.0.0.1:8080 (HTTP only).


Best regards
MarC

Hello Xiang,

As Marc said you should type into the file /install/conf/server.xml the following:

<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="c:/Java/jdk1.6.0_33/bin/.keystorefile"
keystorePass="keyname"
keyAlias="/secure"/>

If you don't want to use SSL you have to remove the lines "keystoreFile" and "keystorePass".

Also you ought to have a proxy server in front of JIRA server to redirect https://203.120.121.167/secure request to https://203.120.121.167:8443/secure . You can set up an Apche server with AJP connector that translates every resquest on port 8443. You can check out it how to configure.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,870 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot