Hello,

Here is my scenario. We have websocket service deployed on Jetty 9.2.x

This web socket service is trying to call a service which is mutually
authenticated.

I have store created (.pfx file) which has both private and public keys.

I have kept "mystore" file under etc under jetty base.

Added the below commands to server.ini file under my jetty base.

-Djavax.net.ssl.keyStore=etc\mystore
-Djavax.net.ssl.keyStorePassword=mypassword
-Djavax.net.ssl.trustStore=etc\mystore
-Djavax.net.ssl.trustStorePassword=mypassword

When my web socket service tryies to call service which requires mutual
authentication it's giving the below error.

*Can you please helps to resolve this issue?*

*Error:*

PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target

On Tue, Feb 9, 2016 at 9:10 PM, Mohan Kumar G <[email protected]>
wrote:

> Hello,
>
> Here is my scenario. We have websocket service deployed on Jetty 9.2.x
>
> This web socket service is trying to call a service which is mutually
> authenticated.
>
> I have store created (.pfx file) which has both private and public keys.
>
> I have kept "mystore" file under etc under jetty base.
>
> Added the below commands to server.ini file under my jetty base.
>
> -Djavax.net.ssl.keyStore=etc\mystore
> -Djavax.net.ssl.keyStorePassword=mypassword
> -Djavax.net.ssl.trustStore=etc\mystore
> -Djavax.net.ssl.trustStorePassword=mypassword
>
> When my web socket service tryies to call service which requires mutual
> authentication it's giving the below error.
>
> *Can you please helps to resolve this issue?*
>
>
> 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
>
>
>
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to