SSL - SSLHandshakeException: Unrecognized SSL message, plaintext connection?
一、異常日誌
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:152)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:806)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:721)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
at org.apache.mina.filter.ssl.SslHandler.unwrap(SslHandler.java:725)
at org.apache.mina.filter.ssl.SslHandler.unwrapHandshake(SslHandler.java:663)
at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:549)
at org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:349)
at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:476)
... 15 more
二、問題原因
客戶端產生該異常,是因為對方提供的不是 https 服務的埠
服務端產生該異常,是因為客戶端以 http 協議訪問服務端的 https 服務
相關文章
- SSL - SSLHandshakeException: No subject alternative names presentException
- SSL - SSLHandshakeException: unable to find valid certification path to requested targetException
- 解決 javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExceptionJavaException
- SSL - SSLHandshakeException: No subject alternative names matching IP address foundException
- javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 解決方案JavaExceptionAI
- Unknown SSL protocol error in connection to xxx:443ProtocolError
- kafka ssl sasl_ssl 配置Kafka
- ssl
- Vesta 安裝SSL – HTTPS SSL 教程HTTP
- SSL,TLSTLS
- [SSL/TLS] SSL/TLS協議綜合總結TLS協議
- Establishing SSL connection without server's identity verification is not recommended.ServerIDE
- Connection to https://dl-ssl.google.com refused的解決辦法HTTPGo
- SSL證書格式轉換 – HTTPS SSL 教程HTTP
- SSL證書轉PEM格式 – HTTPS SSL 教程HTTP
- SSL/TLS協議安全系列:SSL/TLS概述TLS協議
- Nginx的SSL配置優化 – HTTPS SSL 教程Nginx優化HTTP
- SSL壓力測試工具THC-SSL-DOS
- Apache SSL伺服器配置SSL詳解(轉)Apache伺服器
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- SSL證書安裝指引教程 – HTTPS SSL 教程HTTP
- phpStudy安裝ssl證照 – HTTPS SSL 教程PHPHTTP
- SSL證書申請問題 – HTTPS SSL 教程HTTP
- Tomcat 安裝SSL證書 – HTTPS SSL 教程TomcatHTTP
- SSL基礎知識及Nginx/Tomcat配置SSLNginxTomcat
- [SSL]SSL演算法庫的理解與測試演算法
- SSL錯誤ssl connect error 35的解決方案Error
- 如何區分SSL證書和國密SSL證書
- NGINX配置SSL支援Nginx
- 完全吃透 TLS/SSLTLS
- ssl 生成證書
- SSL certificate chainsAI
- weblogic配置SSLWeb
- [HTTPS]SSL/TLSHTTPTLS
- rabbitmq開啟sslMQ
- 阿里雲站點升級提示:OpenSSL SSL_connect: Connection reset by peer in connection to www.pbootcms.com:443阿里boot
- 如何申請SSL證書以及SSL證書的費用
- 免費SSL證書Let's Encrypt的替代:SSL.com