This troubleshooting guide provides a detailed process to diagnose and resolve SSL/TLS handshake failures due to certificate errors on OpsRamp Classic Gateways. The steps will help you identify the cause of the disconnect, obtain the necessary certificates, and install them on the gateway to restore secure communication.
Tunnel Disconnect with Certificate Errors in Classic Gateway
If you see the following exception in the vprobe-tls-comm.log
, it means you need to upload the CA certificate to both Java and the Gateway OS:
Steps to Troubleshoot
To resolve this issue, upload the necessary certificates to the Java and Gateway OS.
Step 1: Varify if the certificate issuer is DigiCert
Run the following command to check whether the certificate issuer is DigiCert (the expected issuer for OpsRamp):
- Direct Connection:
- Proxy Connection:
- Sample Output for OpsRamp Server Certificate:
Certificate chain - Sample Output for Non-OpsRamp Server Certificate:
Certificate chain
Step 2: Retrieve Non-OpsRamp/Local Issuer Certificate
If the issuer is not DigiCert, retrieve the local issuer certificate using the following command:
- Direct Connection:
- Proxy Connection:
- Copy the Certificate Output to a file (e.g.,
/home/ruser/cert1.crt
):
Note: If you have multiple certificates, create multiple files for each certificate.
Step 3: Uploading the Local Issuer Certificate to the vProbe Service and Gateway
- Upload the Certificate to the vProbe Service
- After copying the certificates, use the following command to import each certificate into the Java keystore with a unique alias.
Example: For two certificate files: - Verify the Certificate Upload
To confirm the certificate was successfully uploaded to the vProbe service, run the following command:
- After copying the certificates, use the following command to import each certificate into the Java keystore with a unique alias.
- Upload the certificate to the Gateway
- Use the following commands as examples:
Reference Commands and Links
Commands:
- Extract certificates from a server via a proxy:
- Print certificate subjects from the CA certificate file:
- Connect to a server via a proxy:
Useful Link:
Uploading OpenSSL 3.x.x to Connect to Proxy Servers with Authentication on Older Gateways
- Download and Extract OpenSSL:
- Navigate to OpenSSL Directory:
- Connect to a Target Server via Proxy with Authentication: