On a small screen, swipe the table to read all columns.
| Control | Setting | Effect |
|---|---|---|
| Require encryption | RequireEncryption | Every connection uses TLS 1.2 or later. Encryption can’t be set to Off. |
| Stop self-trusted certificates | AllowUserTrust = false | Only certificates the computer trusts, or that you list, are accepted. |
| Pre-approve certificates | TrustedCertificates | SHA-256 fingerprints to accept, such as self-signed ones. |
| Smart card sign-in | SignInWithCertificate, CertificateIssuer | Sign in with the person’s certificate on every encrypted connection. |
Encryption
Encryption on the connect page has three choices.
- Off.
- TLS on a secure port. TLS 1.2 or later from the first byte. This is the usual secure-port setup, often port 992. In Group Policy, a connection line with
secureis always encrypted, and 992 is its default port. - TLS negotiated on this port. The host’s normal telnet port, usually 23, agrees to encrypt first. The TLS handshake runs on the same connection before any screen data. In Group Policy, use
starttlsin place ofsecure.
Negotiated TLS on the telnet port
z/OS can encrypt TN3270 connections on the normal telnet port instead of a separate secure port. The Communications Server calls this negotiated TLS, set with CONNTYPE NEGTSECURE on the port, or ANY to let each terminal choose. The host offers it with the telnet START_TLS option, and WND Terminal agrees. TN3270E is then agreed inside TLS.
Certificates are checked exactly as on a secure port. Trusted certificates, TrustedCertificates, AllowUserTrust and smart cards all work the same.
{ "Name": "Production", "Host": "mvs.example.com", "Port": 23, "StartTls": true }A connection IT sets up with StartTls is always encrypted. If the host doesn’t offer negotiated TLS, it’s refused with a message saying so. The same goes for every connection when RequireEncryption is on. When a person chose negotiated TLS for their own connection and neither rule applies, the session connects unencrypted, and a note on the session says so. A session connected with encryption Off to a host that offers it says that too.
Behind a proxy, encryption still runs end to end with the host. See Proxy servers.
Host TLS uses SChannel on Windows and Apple’s Security framework on macOS. Using an OS TLS API alone does not establish FIPS validation. Check the exact module certificate and approved configuration against the NIST CMVP listing.
How certificates are checked
WND Terminal checks the mainframe’s certificate against the computer’s trusted certificates. A certificate from your own certificate authority is accepted once that authority is deployed to the computer.
If the computer doesn’t trust a certificate, which is common with company-issued or self-signed ones, the app shows who it was issued to, by whom, its dates and its SHA-256 fingerprint, and asks the person.
Pinned certificates
When a person trusts a certificate, WND Terminal saves its fingerprint for that host in trusted-certificates.json in the app’s data folder. From then on it accepts only that exact certificate. A changed certificate is refused with a warning. A certificate trusted for the main address is accepted on a backup address only if it’s the very same certificate.
What IT can lock
RequireEncryptionrefuses unencrypted connections, and hosts that don’t offer negotiated TLS on their telnet port.AllowUserTrust= false stops people trusting certificates themselves. Certificates they trusted before are ignored.TrustedCertificateslists SHA-256 fingerprints to trust anyway. The app shows a certificate’s fingerprint when it connects, and your mainframe team can read it from the certificate. Colons are optional.
C6:2F:22:79:A8:9D:36:D9:72:57:05:68:42:92:05:76:F6:CA:6C:36:94:DE:B7:ED:89:96:02:22:D2:C3:80:ACYou can also turn off the mainframe’s unencrypted port, so no one can connect without encryption. In the browser version, people can’t trust a host certificate themselves.
Reconnecting
If the connection drops without the person disconnecting, the session reconnects by itself after 1, 2, 4 and up to 30 seconds. It stays encrypted and says so in the status line. The mainframe sees a new terminal, so people usually log on again.
Smart cards and client certificates
Mainframes set up for client certificates let people sign in with a smart card (CAC, PIV) instead of a password. That means z/OS AT-TLS with HandshakeRole ServerWithClientAuth and the certificate mapped to a RACF user ID. On a secure connection, Sign in offers two choices.
- With my smart card or a certificate on this computer. This uses the Windows certificate store or a macOS keychain, where a smart card’s certificates appear when it’s inserted. Pick one, or let WND Terminal choose. It picks a certificate that’s valid today and meant for signing in, and it tries a smart card’s certificates first. The operating system asks for the PIN, and the key never leaves the card.
- With a certificate file (.p12, .pfx). Its password is asked for when connecting and never saved. The file is copied into the app’s
client-certificatesfolder, still protected by its password.
If the host wants a certificate and none was given, or rejects the one sent, the app tells the person what went wrong. The status line shows Certificate when one signed in. Printer sessions sign in the same way as their terminal.
IT can turn this on for everyone with SignInWithCertificate. CertificateIssuer, such as DOD ID CA, picks among several certificates. For one connection only, set SignInWithCertificate on the connection or end its Group Policy line with |smartcard.
A certificate can also log people on to z/OS applications with Express Logon, so they never type a password. See Sign-on without a password.