Ssl diag

ssl_ciphers_list

List available TLS ciphers, optionally filtered by a cipher string. See openssl-ciphers(1) for filter syntax (e.g. HIGH, !aNULL, TLSv1.2).

Example

ssl_ciphers_list
ssl_ciphers_list HIGH:!aNULL:!MD5

Arguments

  • $1 (string): Cipher filter string (optional; default: all ciphers)

Exit codes

  • 0: Always

Output on stdout

  • One cipher per line with protocol, key exchange, auth, enc, and MAC columns

ssl_errstr

Decode a hex OpenSSL error code to a human-readable description. Error codes are printed by openssl commands in the form "error:XXXXXXXX:...".

Example

ssl_errstr 0200100D

Arguments

  • $1 (string): Hex error code (e.g. 0200100D)

Exit codes

  • 0: Always

Output on stdout

  • Human-readable error string