Help us understand the problem. What is going on with this article?

オレオレ証明書の作成

More than 5 years have passed since last update.

オレオレ証明書の作成

opensslを利用し、オレオレ証明書を作成する。

1. 秘密鍵の作成

2048bitの秘密鍵を作成する。

openssl genrsa -des3 -out server.key 2048

2. 証明書署名要求の作成

コマンド入力後、設定を聞かれるがオレオレ証明書のため、適当でOK。

openssl req -new -key server.key -out server.csr

3. パスフレーズ解除

起動するたびにパスフレーズを聞かれるのでパスフレーズを解除する。

cp server.key server.key.org
openssl rsa -in server.key.org -out server.key

4. サーバ証明書の発行

openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした