Answer the question
In order to leave comments, you need to log in
How does telnet connect to work via ssl protocol?
Hello, there is a theoretical question for solving an applied problem.
recently MTA Exim ships with GNU-TLS instead of OpenSSL.
It would be desirable to understand the principle of operation of network connections.
Example: 25 port: telnet otherhost 25
Connection on SSL protocol.
openssl s_client -connect sub.example-one.org:465
...
Start Time: 1448072426
Timeout : 300 (sec)
Verify return code: 18 (self signed certificate)
---
220 mail.otherhost.com ESMTP Exim 4.84 Sat, 21 Nov 2015 05:20:26 +0300
gnutls-cli -p 443 sub.example-one.org
....
- Status: The certificate is NOT trusted. The certificate issuer is unknown. The name in the certificate does not match the expected.
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.
*** Handshake has failed
GnuTLS error: Error in the certificate.
[email protected]:/var/log# telnet otherhost.com 465
Trying 5.39.81.129...
Connected to otherhost.com.
Escape character is '^]'.
Answer the question
In order to leave comments, you need to log in
Everything is much simpler in the Exim configuration is to include the path to the certificate of the certifying server, for scattered ones there should be 3 lines with the topic about the configuration of certificates
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question