Redirecting jira url from http to https

Pooja January 28, 2019

 

Hi All,

we are changing the jira base url from http to https without SSL configuration, and by using the f5 Network.

Can someone help in understanding the below error lines

batch.js?locale=en-US:137 Mixed Content: The page at 'https://ibpmtsgservicedeskuat.infosys-platforms.com/secure/Dashboard.jspa?selectPageId=10100' was loaded over HTTPS, but requested an insecure stylesheet 'http://10.205.58.44:8080/s/76ajj6/712001/6411e0087192541a09d88223fb51a6a0/1.0/_/download/resources/jira.webresources:global-static/wiki-renderer.css'. This request has been blocked; the content must be served over HTTPS.

 

Regards,

Pooja

2 answers

2 accepted

0 votes
Answer accepted
ajeet_singh January 28, 2019

Hi @Pooja

as @Nic Brough -Adaptavist- said you have to configure SSL setting in jira server.xml to access Jira over https,

but if you are changing the jira base url from http to https without SSL configuration, you need to configure reverse proxy, 

i am using HAProxy to configure such resource 

 

 

Pooja January 28, 2019

@ajeet_singh

Thank you for the suggestion,

I forgot to mention that while trying to configure Reverse proxy we are getting this error

Could you explain what this below lines means, or like where we are failing in the configuration

batch.js?locale=en-US:137 Mixed Content: The page at 'https://ibpmtsgservicedeskuat.infosys-platforms.com/secure/Dashboard.jspa?selectPageId=10100' was loaded over HTTPS, but requested an insecure stylesheet 'http://10.205.58.44:8080/s/76ajj6/712001/6411e0087192541a09d88223fb51a6a0/1.0/_/download/resources/jira.webresources:global-static/wiki-renderer.css'. This request has been blocked; the content must be served over HTTPS.

Nic Brough -Adaptavist-
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.
January 29, 2019

This error happens when you try to serve a non-SSL connection over an SSL protocol.

You need to decide whether you want a plain http connection or an SSL one.

Like Xuân Toàn Bùi likes this
ajeet_singh January 29, 2019

@Pooja,

change your Jira base url to http , and configure reverse proxy to  forward all https request as http on jira server , if you are using HAProxy use below 

 

 acl uri_jira path_beg /jira

use_backend jira-backend if uri_jira

backend  jira-backend
http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
server serv 127.0.0.1:8080/jira

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
January 28, 2019

>jira base url from http to https without SSL configuration,

That is nonsense.  Https is http over SSL.  The error you are getting happens because you're trying to use plain http over SSL.

You need to decide whether you want to use SSL or not (you should use SSL if the system is going to have any connection with the internet)

Pooja January 28, 2019

@Nic Brough -Adaptavist-

 

That is nonsense. (These type of Rash Responses will not be accepted).

Nic Brough -Adaptavist-
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.
January 29, 2019

It's not a "rash response".  Blunt, yes, but it is absolutely accurate.  How is "I want to not use SSL over SSL" not nonsense?

You need to decide whether to use SSL or not.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events