-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown Certificate Issue with Intermediate and Root CA Certificates #12615
Comments
Sorry, but it is not clear what the problem is, nor what you are trying to do. Please formulate:
|
Hi @sbordet, Thank you for your response. Here’s the detailed context of the issue I am facing: Use Case: Issue: PKIX path validation failed: java.security.cert.CertPathValidatorException: basic constraints check failed: this is not a CA certificate Full stack trace:
This suggests that the intermediate certificate is not being recognized or validated correctly in the certificate chain. Request for Assistance:
Please let me know if further details or logs are required to assist in debugging this issue. Thanks & Regards, |
Sorry, but this is not a Jetty issue. Read the exception message, it is telling you what's wrong. Once you have fixed your certificate setup, you will see that Jetty will work correctly. |
Hi @sbordet , Thanks, for your response. in addition to the above code added below code snippet. ` KeyStore keyStore = KeyStore.getInstance("JKS");
even with this also, client certificate details are not present. just for TESTING purpose but still handshake is failed attaching jetty logs, could you please suggest how to resolve this issue. |
Again, this is not a Jetty issue. The TLS implementation is from the JDK, not Jetty. JDK's TLS implementation does send the certificate, and we have even tests in Jetty that prove that. Sorry, but again you are likely doing something wrong in your code, as it obviously is not Jetty and not the JDK. Please see https://docs.oracle.com/javase/8/docs/technotes/guides/security/troubleshooting-security.html. |
Jetty Version
Jetty Environment
Java Version
Java Version = 17
Question
I am using jetty as a client to send traffic by using the https with TLSv1.2 or TLSv1.3 version.
Here my ask is that, whenever any request arrives with the intermediate and root ca certificates getting unknow certificate issue.
below code snippet get the webclient.
My TrustStoreServer.jks & PrimaryKeyStoreServer.jks contains both the intermediate and root ca
The text was updated successfully, but these errors were encountered: