ウェブで検索してもなかなか見つからないので、備忘録として書いておく。
以下のコマンドで、パスフレーズなし秘密鍵と自己署名証明書を一度に作れる。引数の値は適宜変えること。
openssl req -newkey rsa:4096 -nodes -keyout example.key -x509 -days 3650 -subj "/C=JP/L=City/O=Organization" -out example.crt
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
ウェブで検索してもなかなか見つからないので、備忘録として書いておく。
以下のコマンドで、パスフレーズなし秘密鍵と自己署名証明書を一度に作れる。引数の値は適宜変えること。
openssl req -newkey rsa:4096 -nodes -keyout example.key -x509 -days 3650 -subj "/C=JP/L=City/O=Organization" -out example.crt
Register as a new user and use Qiita more conveniently
Go to list of users who liked