1. openssl s_client

https://www.openssl.org/docs/man3.0/man1/openssl-s_client.html

openssl-s_client - SSL/TLS client program 

1.1. history

openssl s_client -connect gmail-smtp-in.l.google.com:487

返事がないのは、設定不足か。

$ openssl s_client -connect conoha.qmail.jp:25
Connecting to 157.7.113.173
CONNECTED(00000003)
80AB3596B37F0000:error:0A00010B:SSL routines:tls_validate_record_header:wrong version number:ssl/record/methods/tlsany_meth.c:80:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 5 bytes and written 323 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)

starttls
220 ready for tls
mail from tmaeno
454 TLS connection failed: error:0A00010B:SSL routines::wrong version number (#4.3.0)
Connection closed by foreign host.


CategoryDns CategoryWatch CategoryTemplate

MoinQ: OpenSSL/openssl s_client (last edited 2023-12-17 03:59:33 by ToshinoriMaeno)