Forums

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

JSM DC SSL not working on Apache on OpenSuse latest

Mariano
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 8, 2024

Hello! I've followed this instructions to enable SSL (through my CloudFlare domain) on my Jira DC instance:

 

https://thejiraguy.com/2021/10/14/adding-ssl-to-jira/ 

 

 

Unfortunately it didn't work. I get a constant 301 loop (I guess http sends to https and so on?).

 

I'm going a bit crazy trying to figure out where the loop happens. I've tried a few options like setting ProxyRequests Off and also setting my domain directly as HTTPS:

 

ProxyPass / https://jira.mediasoft.com:8080/

ProxyPassReverse / https://jira.mediasoft.com:8080/

 

But that didn't work either.

 

All my our other tools (Zabbix, Grafana, WikiJS) work just fine on reverse proxy Apache, not sure what's the deal with Jira not wanting to kick into work. Maybe an issue with Cloudflare?

 

Should Tomcat be listening on 443 instead of Apache??

ss -tulpn

Netid           State            Recv-Q            Send-Q                            Local Address:Port                       Peer Address:Port           Process                                                                                                                                                   

udp             UNCONN           3584              0                                  0.0.0.0%eth0:68                              0.0.0.0:*               users:(("wickedd-dhcp4",pid=892,fd=8))                                                                                                                   

udp             UNCONN           0                 0                                     127.0.0.1:323                             0.0.0.0:*               users:(("chronyd",pid=1448,fd=5))                                                                                                                        

udp             UNCONN           0                 0                                         [::1]:323                                [::]:*               users:(("chronyd",pid=1448,fd=6))                                                                                                                        

tcp             LISTEN           0                 128                                     0.0.0.0:22                              0.0.0.0:*               users:(("sshd",pid=13260,fd=3))                                                                                                                          

tcp             LISTEN           0                 10                                            *:8090                                  *:*               users:(("java",pid=27041,fd=45))                                                                                                                         

tcp             LISTEN           0                 100                                           *:8080                                  *:*               users:(("java",pid=4508,fd=121))                                                                                                                         

tcp             LISTEN           0                 128                                        [::]:22                                 [::]:*               users:(("sshd",pid=13260,fd=4))                                                                                                                          

tcp             LISTEN           0                 4096                                          *:80                                    *:*               users:(("httpd-prefork",pid=5470,fd=4),("httpd-prefork",pid=5469,fd=4),("httpd-prefork",pid=5468,fd=4),("httpd-prefork",pid=5467,fd=4),("httpd-prefork",pid=5466,fd=4),("httpd-prefork",pid=5452,fd=4))

tcp             LISTEN           0                 4096                                          *:443                                   *:*               users:(("httpd-prefork",pid=5470,fd=6),("httpd-prefork",pid=5469,fd=6),("httpd-prefork",pid=5468,fd=6),("httpd-prefork",pid=5467,fd=6),("httpd-prefork",pid=5466,fd=6),("httpd-prefork",pid=5452,fd=6))

tcp             LISTEN           0                 1                            [::ffff:127.0.0.1]:8000                                  *:*               users:(("java",pid=27041,fd=79))                                                                                                                         

tcp             LISTEN           0                 1                            [::ffff:127.0.0.1]:8005                                  *:*               users:(("java",pid=4508,fd=506))                                                                                                                         

 

 

1 answer

0 votes
Mariano
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 8, 2024

My `server.xml` connector settings:

 

<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" secure="true" scheme="https"

                   proxyName="jira.mediasoft.com" proxyPort="443"/>

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
10
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events