openssl コマンドは
openssl サブコマンド 引数 引数 ....
となっている。サブコマンドが実際に必要なのであることが多い
openssl のマニュアル ( man pages )はちょっとコツが必要。
サブコマンドがメインであるのと、openssl 自体のman が散らばっているので、すこしコツが必要です。 Linux の場合、1ssl のページになっていてちょっと違うんです。
takuya@:~$ man -k ssl | \grep 1ssl CA.pl (1ssl) - friendlier interface for OpenSSL certificate programs ciphers (1ssl) - SSL cipher display and cipher list tool openssl (1ssl) - OpenSSL command line tool s_client (1ssl) - SSL/TLS client program s_server (1ssl) - SSL/TLS server program s_time (1ssl) - SSL/TLS performance timing program sess_id (1ssl) - SSL/TLS session handling utility version (1ssl) - print OpenSSL version informati
takuya@:~$ man -k rsa | \grep 1ssl genrsa (1ssl) - generate an RSA private key rsa (1ssl) - RSA key processing tool rsautl (1ssl) - RSA utility
たとえばRSAの場合
rsa 鍵を扱う openssl のサブコマンドとその書式は
man 1ssl rsa
としてみることが出来る。
openssl コマンドの man ってどうやって見るのか
man 1ssl passwd
どんなman があるのか
takuya@:~/Desktop$ man -k 1ssl CA.pl(1ssl) - friendlier interface for OpenSSL certificate programs asn1parse(1ssl) - ASN.1 parsing tool ca(1ssl) - sample minimal CA application ciphers(1ssl) - SSL cipher display and cipher list tool crl(1ssl) - CRL utility crl2pkcs7(1ssl) - Create a PKCS#7 structure from a CRL and certificates dhparam(1ssl) - DH parameter manipulation and generation dsa(1ssl) - DSA key processing dsaparam(1ssl) - DSA parameter manipulation and generation ec(1ssl) - EC key processing ecparam(1ssl) - EC parameter manipulation and generation enc(1ssl) - symmetric cipher routines errstr(1ssl) - lookup error codes gendsa(1ssl) - generate a DSA private key from a set of parameters genrsa(1ssl) - generate an RSA private key nseq(1ssl) - create or examine a netscape certificate sequence ocsp(1ssl) - Online Certificate Status Protocol utility openssl(1ssl) - OpenSSL command line tool passwd(1ssl) - compute password hashes pkcs12(1ssl) - PKCS#12 file utility pkcs7(1ssl) - PKCS#7 utility pkcs8(1ssl) - PKCS#8 format private key conversion tool rand(1ssl) - generate pseudo-random bytes req(1ssl) - PKCS#10 certificate request and certificate generating utility rsa(1ssl) - RSA key processing tool rsautl(1ssl) - RSA utility s_client(1ssl) - SSL/TLS client program s_server(1ssl) - SSL/TLS server program s_time(1ssl) - SSL/TLS performance timing program sess_id(1ssl) - SSL/TLS session handling utility smime(1ssl) - S/MIME utility speed(1ssl) - test library performance spkac(1ssl) - SPKAC printing and generating utility verify(1ssl) - Utility to verify certificates version(1ssl) - print OpenSSL version information x509(1ssl) - Certificate display and signing utility
man が見られると少し理解が進む
passwd に至っては man 5 や man 1 と被るもんね。