Forums

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

How do I disable the https check for admin functions for a development Jira server

George Lindholm March 21, 2022

I'm running  a Jira Server docker image locally for development purposes.

I find a number of admin functions broken by the need for a https connection, which doesn't make sense in my environment.
I'm constantly asked to login in again due to:

If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing.

And in a lot of cases once I log in again, I'm back where I was as opposed to having the action carried out.

How do disable this behaviour?

Thanks

   George

2 answers

0 votes
George Lindholm March 24, 2022

Now that I knew what to search for, I found: https://hub.docker.com/r/piegsaj/jira/ and with a minor adjustment for the Atlassian docker image:

docker exec jira sh -c 'echo "jira.websudo.is.disabled = true" >>/var/atlassian/application-data/jira/jira-config.properties' 
docker stop jira
docker start jira

and now it works.

Thanks

   George

0 votes
Jacques
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.
March 21, 2022

Hey George,

Have you checked the Jira base URL in the system settings? I'm guessing the base URL is set to a https://... and therefore you get this message.

It might also be the websudo option, described in this article: https://confluence.atlassian.com/adminjiraserver/configuring-secure-administrator-sessions-938847890.html 

Hope this helps!
--- Jacques.

George Lindholm March 23, 2022

Hi Jaques,
    it certainly sounds like the problem is websudo.

But my docker container has no sign of the file mentioned in that article. Nor the stop/start scripts described in https://confluence.atlassian.com/jirakb/edit-the-jira-config-properties-file-in-jira-server-317194938.html

Thanks

    George

Suggest an answer

Log in or Sign up to answer