TLS and certificates
Why a TLS connection fails and how to fix it.
Turn on TLS on the profile for 3270 and 5250 (often port 992). If the host uses a self-signed certificate or one from an internal CA, the handshake fails.
Fix it in one of these ways:
- For testing only, turn on Trust any certificate. It disables certificate validation, so do not use it for a real system.
If the TLS setting does not match the port the host listens on, the connection can fail or hang. Match TLS to the port.
The error text for a failed TLS connection comes from the operating system, not from the app.
Background: TLS for 3270 and 5250, TLS hostname mismatch on a TN3270 or TN5250 connection.
See also
TLS for 3270 and 5250What an encrypted Telnet connection is, the usual port, and what a certificate error means.TLS hostname mismatch on a TN3270 or TN5250 connectionHostname mismatch means no subjectAltName entry in the host's certificate matches the name or IP you typed. Connect with a listed name or get a new certificate.