My Oracle Support Banner

OUD - Security TroubleShooting - Debugging SSL Connection Using the "openssl s_client" Command (Doc ID 1396054.1)

Last updated on MAY 31, 2023

Applies to:

Oracle Unified Directory - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Purpose

The goal of this document is to explain how to debug an SSL connection using the openssl s_client command.

The openssl s_client command implements a generic SSL/TLS client which connects to a host using SSL/TLS.

For more info -
Debugging SSL Using OpenSSL s_client Test Utility

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Details
 1) The openssl s_client command
 2) Symptom: Connection refused
 3) Symptom:  Verify return code: 18 (self signed certificate)
 4) Example of when the openssl client connects successfully to OUD (Verify return code: 0 (ok))
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.