Product: Confluence
Environment
| Operating System | |
|---|---|
| Affect Version/s | 2.5.4 |
| JVM | |
| Database | |
| Application Server |
Error Message
Error rendering macro: java.io.IOException: Could not download: https://clarabridge01.claraview-fvp.claraview.com/jira/secure/IssueNavigator.jspa?view=rss&&type=12&type=4&type=3&pid=10081&resolution=1&fixfor=10348&sorter/field=issuekey&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none&os_username=stanislav.zarozhny&os_password=password
Symptom
Logs contained the following errors:
2007-08-21 22:20:27,330 ERROR [TP-Processor3] [radeox.macros.include.AbstractHttpRetrievalMacro] retrieveRemoteUrl Failed to download file. -- url: /claranet/display/CBPROD/2.2 | userName: sanjay.bhamoo | action: viewpage | page: 13833 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 at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
Diagnostics/Test
This indicates that the customer is trying to connect to Jira through Confluence by using the "jiraissues macro" over SSL and are not being able to verify the certificate of an SSL/https server.
Root Cause
The problem was that the web application was now acting as a SSL client, and as a client, it needs to obtain and 'trust' the server's public key.
Solution
Pointed the customer to the documentation which lists the steps for trusting server's public key on the application server.
