The openssl list command and utility is used to show supported algorithms and features as well as algorithms and features that have been disabled. openssl list may be used across various operating systems and versions to display supported features as well as disabled features.
To display a list of standard commands, run the following:
openssl list -commands
Digest commands are used as input to the openssl speed and openssl dgst utility. To display a list of digest commands, run the following:
openssl list -digest-commands
Digest algorithms are commonly used when hashing a file using openssl dgst. For example. -sha256
is a common hashing algorithm used for file hashing. To display digest algorithms, run the following command:
openssl list -digest-algorithms
Cipher commands are also used as input to the openssl speed and openssl dgst utility. To display a list of cipher commands, run the following command:
openssl list -cipher-commands
Cipher algorithms may be used to encrypt a private key. For example, -aes256
is a commonly used secret or symmetric key algorithm used to encrypt asymmetric keys when at rest. Cipher algorithms are also used for simple file encryption. Read our post on openssl enc and try out some of the algorithms listed with the below command.To generate a private key, read this post on generating an RSA private key. To display the cipher algorithms, run the following command:
openssl list -cipher-algorithms
To display a list of supported public key algorithms, run the following command:
openssl list -public-key-algorithms
To display the list of public key methods, run the following command:
openssl list -public-key-methods
Certain builds and versions may have some functions and algorithms disabled by default. To display disabled features and algorithms, run the following command:
openssl list -disabled
Leave a Reply