Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

1 answer

1 accepted

0 votes
Answer accepted
Kian Stack Mumo Systems
Community Champion
February 21, 2019

John, 

Could you please outline the trouble that you are having? What isn't working? How are you trying to connect? Are you using some sort of Webserver? What does your server.xml look like? 

All of these things will help us provide some areas where you might be able to make some changes. 

Thanks, 

Kian

John Chuma February 21, 2019

Kian, 

 

Sure. The trouble I am having is with the setup the SSL Connector within the server.xml file. I found on one of the sites the connector that is needed, however port 8443 was never opened up.

I then attempted to setup the Apache redirect and it only would redirect to port 80. I ran an nmap and saw only port 80 was open.

I am able to access the server via IP - internally and externally over port 8080 (http). 

How much of my server.xml config do you need to see?

 

Thank you in advance.

 

John

Kian Stack Mumo Systems
Community Champion
February 21, 2019

It sounds like you need to ensure that 443 and 8443 are opened up for the server. I'd just need to see the connector. 

Thanks, 

Kian

John Chuma February 21, 2019

Kian,

 

Here is the connector:

 

<!-- Relaxing chars because of JRASERVER-67974 -->
<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>

 

What do I need to change in this to make it work?

 

Thank you in advance.

 

John

Kian Stack Mumo Systems
Community Champion
February 21, 2019

Make sure you include scheme="https" proxyName="YOURDOMAINMAME" proxyPort="443". 

As I mentioned, it sounds like you need to configure your Webserver to listen on 443 and redirect traffic to 8443. 

John Chuma February 21, 2019

What if I am not using a proxy? Currently, the box is setup as the default configuration.

 

Please let me know.

John Chuma February 21, 2019

Kian,

this is my current default connector:

 

<Service name="Catalina">
<!--
==============================================================================================================
DEFAULT - Direct connector with no proxy for unproxied access to Jira.

If using a http/https proxy, comment out this connector.
==============================================================================================================
-->
<Connector port="443" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
proxyName="proxy.domain.com" proxyPort="443"/>

 

I commented out the 8080 connector. Also, I changed the proxy name to the FQDN that it's going to use. I left proxy.domain.com so that there isn't any identifiable information.

 

Please advise.

John Chuma February 25, 2019

Kian,

Can you clarify something for me? Do I leave everything the default settings and just add in:

 

scheme="https"proxyName="proxy.domain.com" proxyPort="443"

From there, I have to setup my Apache Reverse Proxy? Is this correct?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events