HTTPS Server Certificate
OL Terminal serves HTTPS on its own port when a server certificate is configured or found at startup. The certificate protects browser, admin, AI tool, and MCP traffic that connects to OL Terminal. It does not change how OL Terminal connects to mainframe or IBM i hosts.
When to use it
Use an OL Terminal HTTPS server certificate when users or AI tools connect directly to OL Terminal and you want the application to answer with https:// on the OL Terminal port.
If a reverse proxy, load balancer, ingress, or platform gateway already terminates HTTPS in front of OL Terminal, keep using that design unless the deployment owner wants encryption all the way to the OL Terminal backend.
Certificate sources
OL Terminal can use a certificate supplied in one of these ways:
- Installer settings in the Windows or Linux install kit.
- Environment variables or matching Java system properties.
- Standard server certificate files that OL Terminal finds at startup, such as
server.keywithserver.cert.
The certificate must include the server name users open in the browser. Use a certificate issued by a CA trusted by your users and AI clients, or install the issuing CA in the clients that connect to OL Terminal.
Environment variables
| Variable | Meaning |
|---|---|
OL_TLS_CERT_FILE | Path to a PFX or PKCS#12 file, or to a PEM certificate file. A PEM certificate chain may follow the server certificate in the same file. |
OL_TLS_KEY_FILE | Path to the PEM private key when OL_TLS_CERT_FILE names a PEM certificate. |
OL_TLS_KEY_PASSWORD | Password for a protected key or certificate file, when required. |
The matching system properties are ol.tls.certFile, ol.tls.keyFile, and ol.tls.keyPassword.
Install kit settings
The Windows and Linux install kits can ask for certificate files during install or configuration. The installer copies the certificate files into the OL Terminal settings area and writes the service settings needed to start with HTTPS.
For unattended installs, set the TLS fields in the install configuration file, or pass the key password through the supported environment variable used by the installer. Protect any file or secret that contains the certificate private key or key password.
Startup behavior
When OL Terminal has a usable certificate, it serves HTTPS on the configured OL Terminal port. Use https://host:port for the web app, admin pages, API clients, MCP clients, and AI tool addresses.
If the certificate settings are invalid, expired, mismatched, or unreadable, startup fails with a message for the deployment owner. Correct the certificate paths, password, or certificate files, then restart OL Terminal.
Cloud and MCP addresses
When OL Terminal serves HTTPS, local replay and AI tool addresses should use the same scheme. Update public MCP and cloud connection addresses so clients use https:// for this OL Terminal instance.
Operational guidance
- Store private keys and key passwords as deployment secrets.
- Use file permissions that allow only the OL Terminal service account and administrators to read the key.
- Renew certificates before they expire.
- Confirm that browser, admin, API, MCP, and AI tool access all use the expected
https://URL. - Keep the backend port protected according to your network design, even when HTTPS is enabled.
See also [[feature:https-server-certificate|HTTPS server certificate]].
Serve OL Terminal over HTTPS on its own port by supplying a server certificate.