Page 1 of 1

During Install Downloading Tomcat: 8.5.24 Receives an Error Code

PostPosted:Tue Nov 05, 2019 6:52 pm
by dickinson.brian
Code: Select all
ERROR: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Re: During Install Downloading Tomcat: 8.5.24 Receives an Error Code

PostPosted:Tue Nov 05, 2019 10:44 pm
by jllort
I think you are using an old JAVA verison. You should use openJDK or Oracle JDK version 1.8-100 or upper ( if you use lower than 100 will not working ). You must not use lower version 1.7- or upper 1.9+

Re: During Install Downloading Tomcat: 8.5.24 Receives an Error Code

PostPosted:Wed Nov 06, 2019 10:30 pm
by dickinson.brian
C:\>java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

Re: During Install Downloading Tomcat: 8.5.24 Receives an Error Code

PostPosted:Thu Nov 07, 2019 9:58 pm
by dickinson.brian
java version "1.8.0_231 should work correct?

Re: During Install Downloading Tomcat: 8.5.24 Receives an Error Code

PostPosted:Fri Nov 08, 2019 6:40 pm
by jllort
Yes, must working without issues.

If you have a trouble with fresh installation I suggest start a new topic for it.

Re: During Install Downloading Tomcat: 8.5.24 Receives an Error Code

PostPosted:Thu Mar 02, 2023 7:42 am
by akhlaqazad
Hi Team,
We are facing the same issue, kindly suggest if do you have any solution refer the below error msg
Code: Select all
[root@ldms openkm]# java -jar OKMInstaller.jar
Running on Linux: 0.9.23-CE (build: 1cb41ce)
Linux distro: centos (CentOS Linux - 8)
Local host: ldms (191.191.10.89)
Java version: 1.8.0_312
Free disk size: 744.2 GB
RAM size: 23.2 GB
CPU cores: 4
Server IP: 10.10.10.89
Supported databases: [h2, hsqldb, mariadb, mysql, oracle, postgresql, sqlserver]
Current directory: /home/openkm

Database [h2]: mysql
Database host [localhost]:
Database name [okmdb]:
Database user [openkm]:
Database password [SV4w1dw9.0A_]: OpenKM@123
---------------------------
- Database: mysql
- Database host: localhost
- Database name: okmdb
- Database user: openkm
- Database password: OpenKM@123
- OpenKM version: 6.3.12
- Tomcat version: 8.5.69
---------------------------
Start install process? [y/N]: y

- Downloading Tomcat: 8.5.69
ERROR: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Re: During Install Downloading Tomcat: 8.5.24 Receives an Error Code

PostPosted:Sat Mar 04, 2023 9:15 am
by jllort
It seems a problem with your JDK finding certificates. What JDK version are you using to run the OKMIntaller.jar file?