跳转到主内容

与ONTAP S3服务器的HTTPS连接失败、并显示"Connection was closed before we received a valid response from Endpoint URL"

Views:
70
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009-163015</a>
Last Updated:

适用场景

  • ONTAP S3
  • SSL 证书

问题描述

  • 尝试使用连接到ONTAP S3服务器 awscli时、连接失败:
 
Connection was closed before we received a valid response from endpoint URL: "https://s3_svm.example.com/".
  • curl输出:
# curl -I https://s3_svm.example.com -v

* About to connect() to s3_svm.example.com port 443 (#0)
*   Trying 192.168.0.1...
* Connected to s3_svm.example.com (192.168.0.1) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* NSS error -5978 (PR_NOT_CONNECTED_ERROR)
* Network file descriptor is not connected
* Closing connection 0
curl: (35) Network file descriptor is not connected

  • OpenSSL客户端输出:

# openssl s_client -connect s3_svm.example.com:443 -tls1_2 -status -msg -debug -showcerts -tlsextdebug -prexit -state

CONNECTED(00000003)
SSL_connect:before/connect initialization
>>> ??? [length 0005]
   16 03 01 01 25
write to 0x7f9580 [0x8030b3] (298 bytes => 298 (0x12A))
...           ..........
>>> TLS 1.2 Handshake [length 0125], ClientHello
...
SSL_connect:SSLv3 write client hello A
read from 0x7f9580 [0x7feb63] (5 bytes => -1 (0xFFFFFFFFFFFFFFFF))
SSL_connect:error in SSLv3 read server hello A
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 0 bytes
---

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.