PKIX path building failed in Eclipse

前端 未结 2 408
北荒
北荒 2020-12-01 22:28

i\'m working with Liferay and i\'m using eclipse, and running a client/server model, using an encrypted socket (SSL).

Currently, my application is running the clien

相关标签:
2条回答
  • 2020-12-01 22:59

    Try passing the certifacate path in VM arguments when running in eclipse

    -Djavax.net.ssl.trustStore="PATH_TO_jssecacerts"
    
    0 讨论(0)
  • 2020-12-01 23:06

    Please refer this answer for your reference.

    No need of passing any VM arguments after you successfully installed certificate of the site which is giving you PKIX error!

    But key is to find JRE which is giving you this error! So make sure about 2 things:

    1. you install certificate to cacerts file of JRE which Eclipse is using
    2. certificate is root certificate
    0 讨论(0)
提交回复
热议问题