Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssl WSO2 3.2.0 API管理器收到致命警报:握手失败_Ssl_Openssl_Wso2_Ssl Certificate_Api Manager - Fatal编程技术网

Ssl WSO2 3.2.0 API管理器收到致命警报:握手失败

Ssl WSO2 3.2.0 API管理器收到致命警报:握手失败,ssl,openssl,wso2,ssl-certificate,api-manager,Ssl,Openssl,Wso2,Ssl Certificate,Api Manager,我得到以下错误ssl:调用api时,wso2 api manager 3.2.0上的握手失败。我使用keytool添加了证书。下面是我用来添加证书的说明 What is your first and last name? [Unknown]: axis2a.backend.mytest What is the name of your organizational unit? [Unknown]: apim What is the name of your organization? [Unk

我得到以下错误ssl:调用api时,wso2 api manager 3.2.0上的握手失败。我使用keytool添加了证书。下面是我用来添加证书的说明


What is your first and last name?
[Unknown]: axis2a.backend.mytest
What is the name of your organizational unit?
[Unknown]: apim
What is the name of your organization?
[Unknown]: wso2
What is the name of your City or Locality?
[Unknown]: colombo
What is the name of your State or Province?
[Unknown]: A
What is the two-letter country code for this unit?
[Unknown]: LK
Is CN=axis2a.backend.mytest, OU=apim, O=wso2, L=colombo, ST=A, C=LK correct?
[no]: yes

keytool -export -alias wso2am -file wso2am.crt -keystore wso2carbon.jks -storepass wso2carbon

keytool -import -alias wso2am -file wso2am.crt -keystore client-truststore.jks -storepass wso2carbon
当我调用api时,我遇到以下错误

 ERROR - TargetHandler I/O error: Received fatal alert: handshake_failure
javax.net.ssl.SSLException: Received fatal alert: handshake_failure
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[?:1.8.0_111]
        at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666) ~[?:1

有什么想法吗?

在这种环境下Java JDK版本是什么?
jdk1.8.0\u 111