0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

自己証明書の作り方

0
Posted at

はじめに

自己証明書を作りたくてJavaのKeytoolを使って作りました。
DataSpiderにデフォルトで入っているJavaのツールを利用しています。

手順

コマンドラインを開きます。

keytool.exeがあるディレクトリに移動

C:\Users\Administrator>cd C:\Program Files\DataSpiderServista\jre\bin

キーストアを作成

C:\Program Files\DataSpiderServista\jre\bin>keytool -genkey -alias dataspider -keyalg RSA -keysize 2048 -validity 365 -keystore "C:\Program Files\DataSpiderServista\server\system\common\classes.keystore"

キーストアのパスワードを入力します。

キーストアのパスワードを入力してください:
新規パスワードを再入力してください:
識別名を入力します。サブコンポーネントを空のままにする場合はドット(.)を1つ入力し、中カッコ内のデフォルト値を使用する場合は[ENTER]を押します。
姓名は何ですか。
  [Unknown]:  SE
組織単位名は何ですか。
  [Unknown]:  companyname
組織名は何ですか。
  [Unknown]:  SE
都市名または地域名は何ですか。
  [Unknown]:  Minato-ku
都道府県名または州名は何ですか。
  [Unknown]:  Tokyo
この単位に該当する2文字の国コードは何ですか。
  [Unknown]:  JP
CN=SE, OU=companyname, O=SE, L=Minato-ku, ST=Tokyo, C=JPでよろしいですか。
  [いいえ]:  y

RSAのキー・ペアと自己署名型証明書(SHA384withRSA)作成

image.png

終わりに

コマンド忘れないようにの備忘録でした。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?