SSL / monitoring TECHNICAL HANDBOOK / 2026

TROUBLESHOOTING

Monitor custom TLS ports, STARTTLS and private services

Identify the service port, TLS mode, trust store and any client-authentication requirement. A mail server, database and HTTPS endpoint can terminate TLS in separate processes.

Find where it fails

Different processes, ports, ingress rules or private services can each terminate TLS independently. STARTTLS is also a protocol-specific upgrade, not the same connection as HTTPS on port 443.

Inventory the exact service, port, hostname and handshake requirements. Test only endpoints you are authorized to inspect, with the intended client trust and credentials where required.

Work through the symptoms

HTTPS on 443 succeeds but another port fails

Inspect the process and certificate actually bound to the other listener.

The service uses STARTTLS

Use a protocol-aware upgrade before inspecting TLS; a raw HTTPS probe is the wrong test.

The service requires private trust or mutual TLS

Use an authorized monitor with the approved trust and client identity configuration.

Run the checks

openssl s_client -starttls smtp -connect mail.example.com:587 \
  -servername mail.example.com -verify_hostname mail.example.com \
  -verify_return_error </dev/null

This example negotiates SMTP STARTTLS on port 587. Replace mail.example.com with your submission server. Choose the matching STARTTLS option or implicit-TLS connection for other services.

Generate commands for your terminal →

Apply the fix

Deploy the appropriate certificate and chain to the process that owns the failing listener, then reload it as required. Repeat a protocol-correct test of that exact port and service, including STARTTLS or mutual TLS when applicable.

Confirm the result

Validate the connection on the service’s configured port, then test its application authentication and protocol response.

Check the deployment details

Several processes can load the same certificate file and require separate reloads. Compare the certificate served on each port after a renewal.

Keep it monitored

Give each TLS listener an owner and renewal check. Use protocol-aware monitoring for STARTTLS services and track public HTTPS expiry alongside it.

Related error messages

References