内容へ移動
memo
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
os:linux:openssl
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== OpenSSL ====== ===== コマンド ===== ==== 証明書の内容を表示 ==== X509 * openssl x509 -inform der -in xxx.der -text * openssl x509 -in xxx.pem -text RSA * openssl rsa -in xxx.pem -text CSR * openssl req -inform der -in xxx.der -text * openssl req -in xxx.pem -text CRL * openssl crl -inform der -in xxx.der -text * openssl crl -in xxx.pem -text P12 次の 2つのコマンドを順に実行(いったんファイルに保存する) * openssl pkcs12 -in xxx.p12 -out xxx.pem * openssl x509 -in xxx.pem -text ===== Tips ===== ==== ファイルを暗号化 ==== === 公開鍵(smime)を使う === * 暗号化\\ openssl smime -encrypt -aes256 -in original.txt -out encrypted.txt smime.cer * 復号化\\ openssl smime -decrypt -aes256 -in encrypted.txt -out original.txt -inkey smime.key -recip smime.cer === 共通鍵方式 === * 暗号化\\ openssl aes-256-cbc -e -in original.txt -out encrypted.txt * 復号化\\ openssl aes-256-cbc -d -in encrypted.txt -out original.txt
os/linux/openssl.txt
· 最終更新: 2013/06/21 17:17 (外部編集)
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ