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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

102 views 0 6
Read article

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