javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate in the HTTP Client 关注
Good morning,
I am trying to connect and test one of the endpoints I am reading data from. For that purpose I need to send them my client certificate. Unfortunately I am getting each time the
javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate
and this looks like my request doesn't even "leave" Intellij. In the .idea/httpRequests I can see only entry in the http-requests-log.http.
I have following configuration:
"SSLConfiguration": {
"clientCertificate": {
"path": "C:\\path\\client-certs\\name.cert.pem",
"format": "PEM"
},
"clientCertificateKey": {
"path": "C:\\path\\client-certs\\name.key.pem",
"format": "PEM"
},
"hasCertificatePassphrase": true,
"verifyHostCertificate": false
},
"CL-CERT-KEY-PASS": "{here I have a correct password}"
I am using IntelliJ IDEA 2021.1.2.
Can you please give some hint what might be wrong ?
请先登录再写评论。
Hello,
Is it possible to check the issue with the newer IDE version?
Checked with the version 2022.3.3 - same behavior. We checked also for different java versions: 8, 11 and 17.
Please create issue on YouTrack (https://youtrack.jetbrains.com/issues/IDEA) attaching idea.log ("Help | Show Log in...") after reproducing the issue for investigation.
Issue created:
https://youtrack.jetbrains.com/issue/IDEA-315936/javax.net.ssl.SSLHandshakeException-Received-fatal-alert-unsupportedcertificate-in-the-HTTP-Client