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.

But if I create the certificate on my own, then it does not work.

asked 23.09.2011 at 03:29

Martin%20Steiger's gravatar image

Martin Steiger
(suspended)
accept rate: 50%


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:

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

To add your certificate to the keystore go to your server/designer installation directory and execute the following command:

jre\bin\keytool -import -alias test -file <path to the certificate> -keystore jre\lib\security\cacerts

You may replace the alias test with any other convenient name not yet used in the keystore.

link

answered 14.11.2013 at 06:04

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
accept rate: 77%

The following commands allows to create a self-signed certificate for the server part: keytool -genkey -keyalg RSA -alias <myalianame> -keystore selfsigned.jks -validity <days> -keysize 2048

(31.07.2017 at 08:14) Flavio Sadeghi ♦♦ Flavio%20Sadeghi's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48

Asked: 23.09.2011 at 03:29

Seen: 4,361 times

Last updated: 31.07.2017 at 08:14