LoginSignup
0
0

More than 5 years have passed since last update.

Windowsでのテスト用自己証明書作成

Posted at

コマンド

SET FQDN=localhost
SET CER_FILE=%FQDN%.cer
SET PVK_FILE=%FQDN%.pvk
SET PASSWORD=password

rem 証明書作成
makecert -r -pe -n "CN=%FQDN%" -sky exchange %CER_FILE% -sv %PVK_FILE%

rem pfx ファイル作成
pvk2pfx -pvk %PVK_FILE% -spc %CER_FILE% -pfx %FQDN%.pfx -pi %PASSWORD%

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