H3270 SSL Connection Configuration
This Guide provides instructions and example commands for configuring SSL connections with the H3270 protocol. It covers server authentication, mutual authentication, and important SSL options for enhanced security.
Note: Note that when connecting with SSL you should add
L:prefix for the host address, e.g.
host: L:<IP>
Server Authentication
With Server Certificate Validation To connect and validate the server's certificate, use:
On Windows:
"additionalParams": "-cafile {path to the server CA file} "
Replace {path to the server CA file} with the location of the server's CA certificate (PEM format).
Without Certificate Validation (Trusting the Certificate)
To connect without verifying the server's certificate:
"additionalParams": "-noverifycert"
Warning: Skipping certificate verification (
-noverifycertor theY:prefix) leaves the connection open to man-in-the-middle attacks, because the client cannot confirm it is talking to the real host. Traffic is still encrypted, but use this option only for testing, never in production. In production, validate the server certificate with-cafile.
Another option is adding the Y: prefix to the host address, e.g.:
host: Y:<IP>
Server-Client (Mutual) Authentication
For mutual authentication (client and server certificates required):
"additional-params": "-cafile {path to server CA file} -certfile {path to client cert file} -verifycert"
{path to server CA file}: CA certificate file (PEM format)
{path to client cert file}: Client certificate file (PEM format)
For more information, please look into: