Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
openssl ツールを使用して一部のデータを暗号化しようとしています。問題は、次のコマンドで private.key のパスワードを設定する方法です。
openssl smime -sign -signer /var/www/protected/keys/ym.pem -inkey /var/www/protected/keys/ym.key -nochain -nocerts -outform PEM -nodetach
同じ問題に直面している場合: 次の方法で秘密鍵からパスフレーズを削除します。
openssl rsa -in privateKey.pem -out newPrivateKey.pem