It's all about the answers!

Ask a question

certificate chaining error while reading the xml data in plugin

Anurag Patel (21568) | asked Sep 16 '16, 5:08 a.m.
Hi All,

I have created a follow up action which can read the xml content and creates Task work.
I need some data while creating a task work item using olugin, those data I am taking from .xml file.
When I tried to read xml data from shared site it is giving Certificate Chaining error.
But same thing I tested by kept .xml file on local machine then it is working fine.

Is there any way to resolve above problem by programmatically which I am facing. 

One answer

permanent link
Donald Nong (14.5k614) | answered Sep 18 '16, 10:04 p.m.
If you get a Certificate Chaining Error, it means that the shared site does not have a valid certificate (signed by a known root CA) for the SSL connection (you can verify this by using a browser). You can either put the signer of the certificate into the truststore of your JRE, or configure to ignore such errors when establishing an SSL connection in your code.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.