PKIX path building failed in Java application

后端 未结 6 2197
悲&欢浪女
悲&欢浪女 2020-11-30 02:38

I have been struggling for almost one week to get my applications up running after moving my applications from Windows 2000 to Windows 2008 R2 Server.

The procedure:

6条回答
  •  被撕碎了的回忆
    2020-11-30 03:13

    On Windows you can try these steps:

    1. Download a root CA certificate from the website.
    2. Find a file jssecacerts in the directory /lib/security with JRE (you can use a comand System.out.println(System.getProperty("java.home"); to find the folder with the current JRE). Make a backup of the file.
    3. Download a program portecle.
    4. Open the jssecacerts file in portecle.
    5. Enter the password: changeit.
    6. Import the downloaded certificate with porticle (Tools > Import Trusted Certificate).
    7. Click Save.
    8. Replace the original file jssecacerts.

提交回复
热议问题