Difference between revisions of "Command Line Utilities"

From OpenSSLWiki
Jump to: navigation, search
(something to start with...)
 
Line 3: Line 3:
 
* launching openssl without any parameter will enter an interactive mode with an OpenSSL> prompt
 
* launching openssl without any parameter will enter an interactive mode with an OpenSSL> prompt
 
** to quit: quit
 
** to quit: quit
* to known what commands and paramters you can issue for openssl do :
+
** enter a command it will set a command context in which parameters depends on command.
 +
* to known what commands and parameters you can issue for openssl do :
 
** openssl help
 
** openssl help
 
<pre>
 
<pre>

Revision as of 13:45, 23 March 2013

When installed on your system openssl binary is entry point for many functions.

  • launching openssl without any parameter will enter an interactive mode with an OpenSSL> prompt
    • to quit: quit
    • enter a command it will set a command context in which parameters depends on command.
  • to known what commands and parameters you can issue for openssl do :
    • openssl help
openssl:Error: 'help' is an invalid command.

Standard commands
asn1parse         ca                ciphers           cms               
crl               crl2pkcs7         dgst              dh                
dhparam           dsa               dsaparam          ec                
ecparam           enc               engine            errstr            
gendh             gendsa            genpkey           genrsa            
nseq              ocsp              passwd            pkcs12            
pkcs7             pkcs8             pkey              pkeyparam         
pkeyutl           prime             rand              req               
rsa               rsautl            s_client          s_server          
s_time            sess_id           smime             speed             
spkac             srp               ts                verify            
version           x509              

Message Digest commands (see the `dgst' command for more details)
md4               md5               rmd160            sha               
sha1              

Cipher commands (see the `enc' command for more details)
aes-128-cbc       aes-128-ecb       aes-192-cbc       aes-192-ecb       
aes-256-cbc       aes-256-ecb       base64            bf                
bf-cbc            bf-cfb            bf-ecb            bf-ofb            
camellia-128-cbc  camellia-128-ecb  camellia-192-cbc  camellia-192-ecb  
camellia-256-cbc  camellia-256-ecb  cast              cast-cbc          
cast5-cbc         cast5-cfb         cast5-ecb         cast5-ofb         
des               des-cbc           des-cfb           des-ecb           
des-ede           des-ede-cbc       des-ede-cfb       des-ede-ofb       
des-ede3          des-ede3-cbc      des-ede3-cfb      des-ede3-ofb      
des-ofb           des3              desx              rc2               
rc2-40-cbc        rc2-64-cbc        rc2-cbc           rc2-cfb           
rc2-ecb           rc2-ofb           rc4               rc4-40            
seed              seed-cbc          seed-cfb          seed-ecb          
seed-ofb          zlib