s_client
- Last Updated: January 16, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
| Operating system | Syntax |
|---|---|
|
UNIX
Windows |
|
- -connect host:port
- Provides the host and port name that the client uses to connect to the server.
- -CAfile CA file path
- Provides the path for the CA certificate for server
authentication.Note: The supported file extensions for the certificate are .jks and
.p12. Make sure that you provide the absolute path, for example,C:\xyz\abc.p12. - -CAPass CA password
- Provides the password for the CA certificate.
- -cert certificate path
- Provides the path where the server certificate for client
authentication resides.Note: The supported file extensions for the certificate are .jks and
.p12. Make sure that you provide the absolute path, for example,C:\xyz\123.p12. - -certPass certificate password
- Provides the password for the server certificate.
- -protocol
- Specifies the protocol that the client uses.
- -debug debug value
- Turns on the debugging, the valid values are
allandssl. Here are the values that you can choose forssl:record—Enables tracing for each record. The valid values areplaintextfor hex dump of record andpacketfor raw TLS packets.handshake—Displays each handshake message. The valid values aredatafor hex dump of each handshake message andverbosefor handshake message printing.keygen—Displays the key generation data.session—Displays the details of the session activity.-
defaultctx—Displays the default TLS initialization. sslctx—Displays the TLS context tracing.sessioncache—Displays the session cache tracing.-
keymanager—Displays the key manager tracing. trustmanager—Displays the trust manager tracing.
Note: If you have provided a filename using the-logoption, the above details are updated in the file or else, they are displayed on theproenv. - -log log directory path
- Specifies the path where the s_client.log file is generated.
Example:
proenv>sslj s_client -connect localhost:8888 -CAfile ca.p12 -CAPass password
-cert server.p12 -certPass password -debug ssl:session -log C:\Progress\WRK -TLSv1.1Note: For an example of creating and
managing a keystore, see Introduction to OpenEdge Management.