简体   繁体   English

相互SSL异常发送警报:java.net.SocketException:管道断开(写入失败)

[英]Mutual SSL Exception sending alert: java.net.SocketException: Broken pipe (Write failed)

I have client app which connects to server and the authentication is mutual ssl. 我有连接到服务器的客户端应用程序,并且身份验证是相互SSL。 I am trying to setup mutual ssl but it is failing with below exception. 我正在尝试设置双向SSL,但由于以下异常而失败。 I am giving rest call using resttemplate. 我正在使用resttemplate进行休息电话。

*** CertificateVerify
Signature Algorithm SHA512withRSA
[write] MD5 and SHA1 hashes: len = 264
http-nio-8080-exec-3, WRITE: TLSv1.2 Handshake, length = 264
[Raw write]: length = 269
http-nio-8080-exec-3, WRITE: TLSv1.2 Change Cipher Spec, length = 1
http-nio-8080-exec-3, handling exception: java.net.SocketException: Broken pipe (Write failed)
%% Invalidated: [Session-1, TLS_RSA_WITH_AES_256_CBC_SHA256]
http-nio-8080-exec-3, SEND TLSv1.2 ALERT: fatal, description = unexpected_message
http-nio-8080-exec-3, WRITE: TLSv1.2 Alert, length = 2
http-nio-8080-exec-3, Exception sending alert: java.net.SocketException: Broken pipe (Write failed)
http-nio-8080-exec-3, called closeSocket()

the flow for mutual sll client hello then serverhello then certificateverify then client cert has CA sent by server after that key exchange is also successfuly but at last step certificateverify it fails. 相互sll的流程客户端问候,然后服务器问候,然后证书验证,然后在服务器密钥交换也成功之后,客户端证书已由服务器发送了CA,但是最后一步,证书验证失败。 I am not sure what is wrong here, could anyone plleaese help out? 我不确定这里出什么问题了,请问有人能帮忙吗?

经过大量的时间投入,我发现传递了错误的客户端别名。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java rabbitmq SSL 问题 java.net.SocketException: Broken pipe (Write failed) - Java rabbitmq SSL issue java.net.SocketException: Broken pipe (Write failed) java.net.SocketException:sendto失败:EPIPE(断开的管道)发送字符以检查套接字连接时 - java.net.SocketException: sendto failed: EPIPE (Broken pipe) When sending character to check socket connection java.net.SocketException:sendto失败:Android上的EPIPE(管道断开) - java.net.SocketException: sendto failed: EPIPE (Broken pipe) on Android Apache HttpClient 4.5.13 java.net.SocketException: Broken pipe(写入失败) - Apache HttpClient 4.5.13 java.net.SocketException: Broken pipe (Write failed) java.net.SocketException:将 json 有效负载发布到 rest api 时管道损坏(写入失败) - java.net.SocketException: Broken pipe (Write failed) while posting json payload to rest api redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Broken pipe (Write failed) - redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Broken pipe (Write failed) java.net.SocketException:SMTP管道损坏 - java.net.SocketException: Broken pipe with SMTP java.net.SocketException:管道损坏 - java.net.SocketException: Broken pipe java.net.SocketException:管道损坏 - java.net.SocketException: Broken pipe 钻探到Hive连接错误(org.apache.thrift.transport.TTransportException java.net.SocketException:管道断开(写入失败)) - Drill to Hive connectivity error(org.apache.thrift.transport.TTransportException java.net.SocketException: Broken pipe (Write failed))
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM