Skip to main content
NetApp Knowledge Base

HTTPS connection to ONTAP S3 server fails with "Connection was closed before we received a valid response from endpoint URL"

Last Updated:

Applies to

  • ONTAP S3
  • SSL certificates


  • When trying to connect to ONTAP S3 server using awscli, the connection fails with:
Connection was closed before we received a valid response from endpoint URL: "".
  • Curl output:
# curl -I -v

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

  • OpenSSL client output:

# openssl s_client -connect -tls1_2 -status -msg -debug -showcerts -tlsextdebug -prexit -state

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
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.