<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Import certificate for HTTPS web service calls</title><link>https://answers.axonivy.com/questions/421/import-certificate-for-https-web-service-calls</link><description>&lt;p&gt;I can call a web service from Xpert.ivy using HTTPS encryption when the the certificate is issued by a trusted authority. It seems to be accepted automatically.&lt;/p&gt;
&lt;p&gt;But if I create the certificate on my own, then it does not work. &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/421/import-certificate-for-https-web-service-calls" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 14 Nov 2013 06:04:59 -0500</lastBuildDate><item><title>Answer by SupportIvyTeam</title><link>https://answers.axonivy.com/questions/421/import-certificate-for-https-web-service-calls/422</link><description>&lt;p&gt;If you created the certificate on your own you have to add it to the trusted certificates in the keystore, otherwise you'll get the following Exception:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;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
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To add your certificate to the keystore go to your server/designer installation directory and execute the following command:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;jre\bin\keytool -import -alias test -file &amp;lt;path to the certificate&amp;gt; -keystore jre\lib\security\cacerts
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You may replace the alias test with any other convenient name not yet used in the keystore.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SupportIvyTeam</dc:creator><pubDate>Thu, 14 Nov 2013 06:04:59 -0500</pubDate><guid>https://answers.axonivy.com/questions/421/import-certificate-for-https-web-service-calls/422</guid></item></channel></rss>