Macros - not working after confluence upgrade

Hi,

I used to have macros in confluence pointed to jira, but after I upgraded confluence to version 5.4.3 I get error:

com.atlassian.confluence.macro.MacroExecutionException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I use SSL certificate for jira and confluence. It’s setup on apache which is connected to tomcats using AJP.

I don’t have encryption directly on tomcat servers.

Everything was working fine (until upgrade) and I didn’t have to import SSL certificate, to establish connection between confluence and jira.

I was trying to fix the issue by importing apache SSL certificate to confluence like in this tutorial: https://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services

After import I’m getting error:

com.atlassian.confluence.macro.MacroExecutionException: Unable to connect to site specified: Connection refused: connect

What else should I do ?

regards
Karolina

2 answers

1 accepted

Hi Karolina,

I'd take a look in this documentation, that explain why we're getting such error:

https://confluence.atlassian.com/display/STASHKB/SSLHandshakeException+-+unable+to+find+valid+certification+path+to+requested+target

I know is a Stash documentation, but it the same principle. The steps are the same.

Also, I'd use SSLPoke to do the testings to see if everything is correct as this documentation shows:

https://confluence.atlassian.com/pages/viewpage.action?pageId=186712330

I hope this helps.
Cheers,
WZ.

Hey,

Couse of the problem was certificate.

I found out that certificate which I download with “Portecle” application has smaller size than certificate that I actually use on apache server.
When I used certificate directly copied from apache everything went fine.

Thanks for help :)

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 Apr 13, 2018 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...

2,925 views 27 12
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