问题
java.lang.IllegalArgumentException at sun.security.provider.certpath.AdaptableX509CertSelector.setSerialNumber(AdaptableX509CertSelector.java:107) at java.security.cert.X509CertSelector.(X509CertSelector.java:283) at sun.security.provider.certpath.AdaptableX509CertSelector.(AdaptableX509CertSelector.java:50) at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:93) at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) at java.security.cert.CertPathValidator.validate(CertPathValidator.java:278
We are migrating our Java application from Java 7 to 8. And currently we are facing the above certificate related error. Can you please explain the root cause of the error if you faced it earlier.
Java version : 1.8.0_151
Server : web sphere 8.5.5.13
来源:https://stackoverflow.com/questions/58406411/illegalargumentexception-certificate-serial-number