【发布时间】:2021-08-09 14:03:09
【问题描述】:
当我尝试使用客户端身份验证调用 restTemplate 时,我在 ssl 握手期间收到以下错误。 我的 linux 平台上的 java -version OpenJDK 运行时环境(build 1.8.0_282-b08)
谁能帮我解决这个问题,或者至少找到正确的方法来看待这个问题?
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:696)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:662)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:613)
at cz.trask.ecom.acs2.threedsecure.inte.tm.client.ThreadSecurityLevelCsasConnector.doExchange(ThreadSecurityLevelCsasConnector.java:101)
... 316 common frames omitted
Caused by: javax.net.ssl.SSLException: No supported CertificateVerify signature algorithm for RSA key
at sun.security.ssl.Alert.createSSLException(Alert.java:133)
at sun.security.ssl.Alert.createSSLException(Alert.java:117)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:311)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:267)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:258)
at sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.<init>(CertificateVerify.java:597)
at sun.security.ssl.CertificateVerify$T12CertificateVerifyProducer.produce(CertificateVerify.java:760)
【问题讨论】:
标签: java ssl java-8 tls1.2 resttemplate