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

This widget could not be displayed.

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');

This widget could not be displayed.

Hi Harald, I belive this will do what you want: https://confluence.atlassian.com/display/CONFKB/Changing+URLs+of+external+gadgets

Cheers

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

398 views 4 6
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