Java TLS 1.2,客户端身份验证错误为openjdk 1.8
当我尝试使用客户端身份验证调用restTemplate时,在ssl握手过程中会出现以下错误。 我的linux平台上的java版本 OpenJDK运行时环境(build 1.8.0_282-b08) 谁能帮我解决这个问题,或者至少找到正确的方法来看待这个问题Java TLS 1.2,客户端身份验证错误为openjdk 1.8,java,ssl,java-8,tls1.2,resttemplate,Java,Ssl,Java 8,Tls1.2,Resttemplate,当我尝试使用客户端身份验证调用restTemplate时,在ssl握手过程中会出现以下错误。 我的linux平台上的java版本 OpenJDK运行时环境(build 1.8.0_282-b08) 谁能帮我解决这个问题,或者至少找到正确的方法来看待这个问题 at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:696) at org.springframework.web.client
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)
位于org.springframework.web.client.restemplate.doExecute(restemplate.java:696)
位于org.springframework.web.client.restemplate.execute(restemplate.java:662)
位于org.springframework.web.client.restemplate.exchange(restemplate.java:613)
位于cz.trask.ecom.acs2.threedsecure.inte.tm.client.ThreadSecurityLevelCsasConnector.doExchange(ThreadSecurityLevelCsasConnector.java:101)
... 省略316个公共框架
原因:javax.net.ssl.SSLException:不支持RSA密钥的CertificateVerify签名算法
位于sun.security.ssl.Alert.CreateSLexception(Alert.java:133)
位于sun.security.ssl.Alert.CreateSLexception(Alert.java:117)
位于sun.security.ssl.TransportContext.fatal(TransportContext.java:311)
位于sun.security.ssl.TransportContext.fatal(TransportContext.java:267)
位于sun.security.ssl.TransportContext.fatal(TransportContext.java:258)
在sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage上
在sun.security.ssl.CertificateVerify$T12CertificateVerifyProducer.product(CertificateVerify.java:760)上