Results 1 to 3 of 3
  1. #1
    Poggy is offline Member
    Join Date
    Aug 2016
    Posts
    1
    Rep Power
    0

    Question Error Installing a Java Certificate

    I've been through like 50 hoops trying to fix ca-certificates but I keep getting this error:

    --
    Loading BuildTools version: git-BuildTools-afc7566-52 (#52)
    BuildTools
    unconfigured@null.spigotmc.org
    Maven does not exist, downloading. Please wait.
    Starting download of https://static.spigotmc.org/maven/ap...-3.2.5-bin.zip
    Exception in thread "main" javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed
    at sun.security.ssl.Alerts.getSSLException(Alerts.jav a:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl .java:1949)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.jav a:302)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.jav a:296)
    at sun.security.ssl.ClientHandshaker.serverCertificat e(ClientHandshaker.java:1509)
    at sun.security.ssl.ClientHandshaker.processMessage(C lientHandshaker.java:216)
    at sun.security.ssl.Handshaker.processLoop(Handshaker .java:979)
    at sun.security.ssl.Handshaker.process_record(Handsha ker.java:914)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocke tImpl.java:1062)
    at sun.security.ssl.SSLSocketImpl.performInitialHands hake(SSLSocketImpl.java:1375)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS ocketImpl.java:1403)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLS ocketImpl.java:1387)
    at sun.net.http://www.protocol.https.HttpsClien...ient.java:559)
    at sun.net.http://www.protocol.https.AbstractDe...tion.java:185)
    at sun.net.http://www.protocol.http.HttpURLConn...ion.java:1513)
    at sun.net.http://www.protocol.http.HttpURLConn...ion.java:1441)
    at sun.net.http://www.protocol.https.HttpsURLCo...Impl.java:254)
    at java.net.URL.openStream(URL.java:1045)
    at com.google.common.io.Resources$UrlByteSource.openS tream(Resources.java:72)
    at com.google.common.io.ByteSource.read(ByteSource.ja va:257) at com.google.common.io.Resources.toByteArray(Resourc es.java:99)
    at org.spigotmc.builder.Builder.download(Builder.java :655)
    at org.spigotmc.builder.Builder.main(Builder.java:212 )
    Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed
    at sun.security.validator.PKIXValidator.doValidate(PK IXValidator.java:352)
    at sun.security.validator.PKIXValidator.engineValidat e(PKIXValidator.java:249)
    at sun.security.validator.Validator.validate(Validato r.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X50 9TrustManagerImpl.java:324)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted (X509TrustManagerImpl.java:229)
    at sun.security.ssl.X509TrustManagerImpl.checkServerT rusted(X509TrustManagerImpl.java:124)
    at sun.security.ssl.ClientHandshaker.serverCertificat e(ClientHandshaker.java:1491)
    ... 18 more
    Caused by: java.security.cert.CertPathValidatorException: signature check failed
    at sun.security.provider.certpath.PKIXMasterCertPathV alidator.validate(PKIXMasterCertPathValidator.java :135)
    at sun.security.provider.certpath.PKIXCertPathValidat or.validate(PKIXCertPathValidator.java:219)
    at sun.security.provider.certpath.PKIXCertPathValidat or.validate(PKIXCertPathValidator.java:140)
    at sun.security.provider.certpath.PKIXCertPathValidat or.engineValidate(PKIXCertPathValidator.java:79)
    at java.security.cert.CertPathValidator.validate(Cert PathValidator.java:292)
    at sun.security.validator.PKIXValidator.doValidate(PK IXValidator.java:347)
    ... 24 more
    Caused by: java.security.SignatureException: Signature does not match.
    at sun.security.x509.X509CertImpl.verify(X509CertImpl .java:449)
    at sun.security.provider.certpath.BasicChecker.verify Signature(BasicChecker.java:166)
    at sun.security.provider.certpath.BasicChecker.check( BasicChecker.java:147)
    at sun.security.provider.certpath.PKIXMasterCertPathV alidator.validate(PKIXMasterCertPathValidator.java :125)
    ... 29 more

    --

    I am at a complete loss as to what more I could possibly do. I have updated Java to 8, I have reinstalled ca-certificates.... And like a bunch of other stuff I can't remember (I followed a lot of error threads similar to this one to try a solution, but got no where). What can I do? Is there a "Fix Java on CENTOS for Dummies"? I'm kinda familiar with running Linux servers and this Java issue has me stumped. I am a complete idiot with JAVA. If I receive an answer, I hope you can make it so a child can understand. Thank you!

    I'm running CentOS 6 64-bit.

  2. #2
    Pavlo is offline Member
    Join Date
    Dec 2012
    Posts
    28
    Rep Power
    0

    Default Re: Error Installing a Java Certificate

    Hello

    From your post I cannot get where you see this exception. First of all, as it looks for me you are trying to setup servlet container with ssl certificate. Right? Please give more info what you trying to get and what exactly you do before get this exception.

  3. #3
    trcooke is offline Tim Cooke
    Join Date
    Jul 2014
    Location
    Belfast
    Posts
    101
    Rep Power
    0

    Default Re: Error Installing a Java Certificate

    Interrogate your keystore file to see if you have an entry for spigotmc.org
    Bash Code:
    keytool -keystore keystore.jks -storepass xxxx -list
    Replacing xxxx with your keystore password.

Similar Threads

  1. Replies: 4
    Last Post: 05-29-2012, 10:37 PM
  2. Error meassge when installing Java
    By billbodewig in forum New To Java
    Replies: 2
    Last Post: 01-16-2011, 03:48 AM
  3. Replies: 5
    Last Post: 10-19-2010, 04:57 AM
  4. Error In Downloading & Installing
    By googooloo in forum New To Java
    Replies: 5
    Last Post: 08-31-2010, 04:35 AM
  5. j2me.storage.RandomAccessStream certificate error
    By asdfghjkl in forum CLDC and MIDP
    Replies: 1
    Last Post: 11-09-2007, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •