Reputation: 11
I am trying to connect to using openssl s_client api, command:
openssl s_client -connect <server1>:443
I am getting following output:
---------------------------------Start---------------------------
No client certificate CA names sent Peer signing digest: SHA512
SSL handshake has read 5540 bytes and written 302 bytes
New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256 Server public key is 2048 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.2 Cipher : ECDHE-RSA-AES128-GCM-SHA256 Session-ID: Session-ID-ctx: Master-Key: PSK identity: None PSK identity hint: None SRP username: None Start Time: 1553089057 Timeout: 7200 (sec) Verify return code: 19 (self signed certificate in certificate chain)
GET <path_to_api> HTTP/1.1
HOST: <server1>
Content-Type: application/soap+xml; charset=utf-8
Content-Length:0
HTTP/1.1 408 REQUEST_TIMEOUT Content-Length:0 Connection: Close
closed
--------------------------------End-------------------------------
It results in request time out. If I use curl command it is successful.
What is the cause for the request timeout ?
Upvotes: 0
Views: 2396
Reputation: 11
-crlf option resolved the issue. Thanks @SteffenUllrich
command:
openssl s_client -connect <server1>:443 -crlf
Upvotes: 1