How to switch to https for gadgets?

For a long time we had linked our Confluence to Jira via a http link.

http://jra.acme.com:8080and http://confluence.acme.com:8080

Adding gadgets in confluence pages adds deep links to the system inside the pages.

Now to increase security we want to change the application link to

https://jira.acme.com:443and https://confluence.acme.com:443

If I do so I'll have to change the external gadgets link to reflect the new protocol, port and all pages that have the gadgets embedded will show an error message that the gadget is not applied to the confluence instance. Embedding the gadget newly will use the new link will work without a problem.

Moreover: If I just add the gadget link using the new link and leave the old one in External Gadgets, the old pages will continue to work, but on adding a gadget newly I will see two instances of the gadget and not to see which one is the http or the https.

Now the question: Is there a way to switch the application link without touching the existing pages?

2 answers

1 accepted

Yes, that worked. Add: For MS SQL Server the query must be

UPDATE iwikidb.dbo.BODYCONTENT
SET body=REPLACE(cast(body as nvarchar(max)),'text to be replaced','text to replace to');

Solution describe here leads to resolve the problem.

Add: For MS SQL Server the query must be

UPDATE iwikidb.dbo.BODYCONTENT
SET body=REPLACE(cast(body as nvarchar(max)),'text to be replaced','text to replace to');

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

277 views 11 10
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