Prepare the IBM listener, distribute policy, enroll a device and verify every protected connection.
Use this guide with the build that includes the protected transport and the Linux wnd-protected-relay executable. A green screen identifies an application to a person. TLS lets the desktop verify which machine supplied that screen. The customer provisions the host's public-key fingerprint independently before anyone logs in. A changed or unapproved key stops the session.
Get WND Terminal 1.0.915 from the customer portal. Release v1.0.915 was published November 27, 2026. Use the Linux Gateway release archive and its SHA-256 release manifest for the dedicated relay. Windows installers are publisher-signed. The Mac build is unsigned and uses the documented ordinary installation mode. Linux release integrity uses the digest manifest; no Linux package signature is claimed.
Choose the route
Direct desktop, conventional key agreement
Operator: Open the managed 3270 or 5250 profile and sign on at the usual host screen.
Protection: Desktop verifies possession of the provisioned ECDSA key and the host's name and certificate validity. TLS 1.3 establishes a session key. This provides an alternative when RSA alone is compromised.
Direct desktop, hybrid required
Operator: Open the same profile with hybrid required.
Protection: Desktop additionally requires X25519MLKEM768. An IBM listener lacking that group refuses the session. Confirm support on the exact IBM service and maintenance level before selecting this option.
Desktop through a customer-operated gateway
Operator: Open the managed host by its normal name. Desktop connects to the configured relay and proves possession of the enrolled device secret. The relay admits one fixed host. Desktop then verifies that host inside the tunnel. Sign on normally.
Protection: The wide-area leg requires hybrid TLS. The inner host TLS survives relay forwarding and protects terminal data through to the host. The inner leg can require hybrid or allow conventional key agreement. The desk's device proof grants passage to the relay. The IBM sign-on still determines the user's host authority.
Ordinary browser access
Operator: Use the separate existing WND web gateway.
Protection: Optional hybrid-only HTTPS ingress and ES256 OIDC control two separate parts of web access. A browser login cannot be used as the protected native relay. Keep its network path separate.
Exact-key trust in these profiles uses ECDSA. It helps against an RSA-specific discovery. Classical ECDSA signatures would themselves be vulnerable to a sufficiently powerful quantum computer. A hybrid key exchange protects confidentiality against a different failure than a signature protects against. If a remaining required algorithm fails and the build has no safe alternative, disable the route. Do not assume a new algorithm can be installed through a policy string. IETF hybrid TLS groups
Opt in deliberately. Protected native connections are off by default. Installing the release does not convert existing connections. Administrators enable a named managed connection with Protected; add ProtectedGateway and ProtectedDevice only for the relay route. The separate browser settings remain opt-in.
1. Prepare the IBM listener
These are customer configuration instructions. WND models the network and protocol behavior with local emulation. IBM documents the listener settings; no WND binary, source edit, program exit or application recompile is part of the procedure.
z/OS TN3270E using AT-TLS
Identify the TCP/IP stack, TN3270 started task, listener port, application mapping and existing Policy Agent configuration. Record the current key-ring owner, certificate label and working policy. Confirm the installed z/OS/System SSL level can negotiate TLS 1.3 with the chosen ECDSA certificate. Check the actual host identity used from the desktop even when connecting through a relay.
Provide a server certificate with a DNS subject alternative name for that identity and a P-256 or P-384 ECDSA public key. Put it and its private key on the SAF key ring used by the listener. Grant the serving identity the access required by local SAF policy. Keep the private key on the host. Export the public certificate for pin provisioning.
Enable AT-TLS in the TCP/IP stack with TCPCONFIG TTLS. In the Telnet profile, define the selected port with TTLSPORT inside its TELNETPARMS block. For example, TTLSPORT 992 selects the usual secure port. Preserve matching BEGINVTAM port and LU/application mappings. Use the secure connection type. WND starts TLS immediately.
In Policy Agent or the z/OSMF Configuration Assistant, bind an inbound AT-TLS rule to that local port, stack and Telnet task. Enable the group, select server handshake role, reference the actual key ring/label and set ApplicationControlled On in the environment advanced parameters for TN3270. Enable TLS 1.3 and supported ECDSA handshake signatures. Select server authentication and retain the normal interactive host sign-on. A listener that requires a TLS client certificate cannot serve this v1 profile. Use a scoped listener where other applications still need that mode.
Activate the change using the site's normal Policy Agent and Telnet profile procedures. Use pasearch to confirm the matching active rule; correlate the job, stack and local port. Restrict network paths to the approved direct workstations or relay egress address. Retain the prior policy for rollback. IBM's worked TN3270 configuration and release migration instructions cover site-specific rule and key-ring details. TN3270 TLS and Policy Agent setup · IBM worked TN3270 AT-TLS configuration
IBM i TN5250 using System TLS
Identify the IBM i release, security group PTF level, TCP service table entry for telnet-ssl, current CHGTELNA settings and DCM assignment for the Telnet service. IBM i 7.6 documents TLS 1.3 and 1.2 support. WND protected mode requires TLS 1.3. Document existing client-certificate requirements and alternate clients before changing a shared service.
In Digital Certificate Manager open the *SYSTEM certificate store. Import or create the named server certificate and associated ECDSA private key. Assign the certificate to IBM i TCP/IP Telnet Server (QIBM_QTV_TELNET_SERVER). Check the actual chosen certificate if several are assigned. In the application definition, select permitted protocols and signature algorithms supported by the installed System TLS configuration. Export only the public certificate.
For a system intended to accept secure Telnet only, use CHGTELNA ALWSSL(*ONLY). This affects the Telnet service as a whole. For a shared rollout, maintain the site's other clients under its current policy and restrict access to the protected listener by network controls. The secure port is commonly 992. Confirm the service table.
Get the public certificate from the IBM operator using an independently authenticated channel. Compute the SHA-256 fingerprint of its SubjectPublicKeyInfo. A whole-certificate fingerprint is a different value. For a PEM certificate on an administrative workstation:
Replace the example markers below with 64 hexadecimal characters from this procedure. Choose a DNS name present in the certificate SAN. Merge the connection into the existing structured policy.json; retain other approved entries. Use admin-only write access. Default locations are C:\ProgramData\WND Software\WND Terminal\policy.json, /Library/Application Support/WND Terminal/policy.json and /etc/wnd-terminal/policy.json. Include the literal "TlsPeerSha256": "requires-wnd-protected-v1" in every protected connection row as the older-client version barrier. Older builds that validate this field refuse the profile. Deny network access to unmanaged or older clients that predate that check. Do not replace this marker with a certificate fingerprint; the actual host SPKI belongs in Protected.active_spki_sha256. Use structured JSON for this setting; the legacy single-line connection format cannot express the profile. Close arbitrary-host entry and pin the new client version in endpoint management before enabling access to the protected listener.
For IBM i choose "HostType": "5250". Direct TLS starts immediately. Protected profiles support manual sign-on. Remove saved automatic sign-on, Express Logon, backup targets, proxy settings and TLS client certificates from the protected connection. Use a separate trusted route if your host requires one of those modes. Keep ordinary profiles separate and prevent older clients or aliases from reaching a protected listener through another path.
3. Add a fixed-target relay when needed
Use the Linux Gateway release archive containing wnd-protected-relay. The standard web Gateway Docker entry point and its workstation DEB start the web service. For the dedicated relay, verify the archive digest against the trusted release manifest, then install the binary in a root-owned executable path such as /usr/local/libexec/wnd-protected-relay. Provision a dedicated service account (wnd-relay below), listener address, DNS name, ECDSA server certificate with a matching DNS SAN, and private key. Export its public certificate and calculate its SPKI pin as above. Restrict service configuration and keys to the service account and protect parent directories. Place the relay close to the host. Allow inbound traffic from managed workstations and outbound traffic to the one approved host/port. A load balancer must pass TCP through without decrypting TLS.
Create a service-owned regular TOML file, mode 0600, with a separate random 256-bit key per device. Generate keys with a cryptographically secure generator, for example openssl rand -hex 32 directed into your secret provisioning system. Example values below are placeholders. Keep secrets out of command arguments, shell history and tickets.
Start wnd-protected-relay /etc/wnd-relay/claims.toml as the service identity under your service manager. Use different listeners for separately authorized targets. The relay resolves the configured host at startup. Changes to DNS, device keys or listener policy require a controlled restart; terminate old sessions on emergency revocation. The relay admits only provisioned devices and forwards the inner TLS stream. Host accounts and their permissions stay on IBM.
Install the Linux relay service
For a systemd host with those paths, place this unit at /etc/systemd/system/wnd-protected-relay.service. Make the TOML and private key readable by wnd-relay with mode 0600, and make the service binary and unit writable only by the installer administrator. The certificate file may be read-only. Use an unprivileged listener port such as 9443.
Run systemctl daemon-reload and systemctl enable --now wnd-protected-relay. Inspect journalctl -u wnd-protected-relay for protected_relay.ready and the expected listening address. An admitted-device event confirms relay access. Use the native desktop's separate host evidence to verify the IBM-facing connection. Use systemctl stop wnd-protected-relay to terminate this route during rollback.
Add the following properties to the same connection object as Protected:
Provision the device secret in the signed-in desktop user's OS credential store, with the installed wnd-automate helper. Send the 64 hexadecimal characters on standard input through the organization's secure provisioning mechanism. For example, when an access-controlled file has been delivered by that mechanism, use the following shell command on Unix. Delete or expire the staging copy through the provisioner's normal lifecycle. The gateway name, both ports, host name and device ID must match the policy.
wnd-automate protected-device set relay.example.test 9443 claims.example.test 992 claims-desk-01 < /secure-staging/desk-key.hex
Use clear with the same arguments to remove the local enrollment. Remove the corresponding device from the relay as well; deleting a desktop copy alone cannot revoke another copy of its key. An unavailable keyring blocks the connection.
Enrollment on Windows, Mac and Linux
Run the helper as the same signed-in OS user who will run WND Terminal. Windows uses Credential Manager, Mac uses Keychain, and Linux uses the desktop Secret Service through secret-tool. An administrator or service account enrolling its own credential store does not enroll another user. Unlock the user’s store before provisioning. Put only the device ID in policy; keep the device key in the credential store and service-owned relay configuration.
On Windows, use this command in Command Prompt (cmd.exe) after your secure provisioning tool delivers the access-controlled staging file. The input redirection is cmd.exe syntax.
wnd-automate.exe protected-device set relay.example.test 9443 claims.example.test 992 claims-desk-01 < C:\secure-staging\desk-key.hex
On Mac and Linux, use the shell command above. On every platform, use protected-device clear with the same gateway, ports, host and device ID to remove local enrollment. Revoke the device at the relay and restart it to prevent a copied key from being reused. A missing or unavailable user credential store must block connection.
Select permitted algorithms explicitly
Both Protected and ProtectedGateway.profile accept optional IANA-name allowlists. Omitting them retains version 1 provider defaults. Lists constrain what can be offered; their order does not specify preference. This example excludes AES record ciphers and retains required hybrid key agreement. Use it only when both peers support these choices.
The supported record-cipher names are TLS_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256 and TLS_CHACHA20_POLY1305_SHA256. Supported group names are X25519MLKEM768, X25519, secp256r1 and secp384r1, only when available in the installed provider.
Explicit null, empty lists, duplicate names, unknown or unsupported names and malformed values fail closed. A list with no permitted intersection with the profile’s required protection is rejected locally. A peer with no permitted common algorithm cannot complete its handshake before host input.
For a conventional inner host profile with require_hybrid: false, an administrator can permit secp384r1 or secp256r1 instead of X25519. The outer gateway profile always requires hybrid. A conventional-only list cannot lower that requirement; excluding its supported hybrid group closes the route.
Constrain the dedicated relay listener too
The native relay accepts the same record-cipher allowlist as a top-level TOML option, outside [devices]. For example, put this line before the device table in the relay configuration:
Omitting the setting retains provider defaults. Restart the relay after changing it. An AES-only peer cannot complete a ChaCha-only listener handshake. The relay listener always retains TLS 1.3 and X25519MLKEM768; its groups are not configurable with this option. This setting does not change the ordinary browser gateway.
Apply incident policy independently to both desktop profiles and the relay listener. Both ends must permit a common cipher. Disconnect or revoke existing sessions; editing a file does not renegotiate an already established connection. Verify the measured cipher_suite, protocol, key_exchange, peer_signature and spki_sha256 for each leg. The selected cipher is evidence; an offered list is not.
These controls can address a failure isolated to a permitted primitive when an unaffected alternative exists. They do not install a new algorithm or repair failures affecting all available choices, peer authentication, endpoint management or the endpoints themselves.
Pilot before expanding; rehearse rollback
Deploy the package and one protected policy entry to a small group of managed workstations first. Leave other approved profiles unchanged. Independently provision pins and any relay enrollment, verify the measured protection on each leg before host sign-on, and test wrong pins, unavailable enrollment and unsupported algorithms. Expand only after the pilot meets your acceptance criteria on each exact platform and host maintenance level.
To stop a protected route, disconnect its sessions, withdraw that managed connection from Connections, and block access to its listener. For a relay, stop wnd-protected-relay, revoke the device in its service-owned configuration and clear the user enrollment with wnd-automate protected-device clear. Restore the previously approved policy and package only through the trusted management channel, retaining network restrictions. Removing Protected from a connection is not a safe automatic downgrade: use a separately verified unaffected route, or leave access closed. Restore host listener policy in the approved maintenance window if the pilot changed it.
4. Verify, rotate and recover
In WND Terminal, open the managed connection. Inspect the TLS indicator for the actual host key exchange, handshake signature and public-key fingerprint. A relay session also shows its gateway handshake. The host's conventional ECDHE result may differ from the hybrid result on the gateway leg. Sign on at the normal 3270/5250 screen. A pin mismatch, expired certificate, unsupported group or missing enrollment must produce a refusal. Identify which leg failed; do not use a user-trust override.
Stage a replacement ECDSA key in the standby list via the trusted policy channel. Verify the new policy reached the fleet, switch the server certificate, reconnect, verify the new observed pin, then remove the previous pin. At an incident, remove the affected key or algorithm from every required leg, stop old listeners/sessions, refresh managed policy and require fresh connections. Use host/network ACLs to block old clients. Restore a known-good package only while keeping the protected listener restricted. If affected infrastructure includes policy delivery, use an independently trusted distribution path.
Keep browser access on a separate path
For the separate web gateway, an administrator may set require_hybrid_ingress = true in [server] on a WND-terminated TLS listener, and signing_algorithm = "ES256" in [sign_in.oidc] when the configured issuer actually issues P-256 ES256 ID tokens. Leave that option unset for an existing RS256 tenant. Check the identity provider, discovery, key retrieval and all TLS termination points independently. These web options do not convert a browser cookie into a native relay credential.
Compatibility evidence. The local release records should identify the actual build, platform, emulator source, negotiated parameters, and allowed/denied session outcomes. An untested IBM service release or PTF combination remains unverified. This guide describes documented host configuration without claiming IBM certification.