Created
February 22, 2013 07:41
-
-
Save azechi/f7330bebc51017773df1 to your computer and use it in GitHub Desktop.
プライベートCA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: ルートCAを作る | |
makecert -n "CN=MY CA" -pe -cy authority -r -sv "myca.pvk" "myca.cer" | |
:: 中間CA | |
makecert -n "CN=MY 2 CA" -pe -cy authority -iv "myca.pvk" -ic "myca.cer" -sv "my2ca.pvk" "my2ca.cer" | |
:: 証明書 サーバー : 1.3.6.1.5.5.7.3.1 クライアント : 1.3.6.1.5.5.7.3.2 | |
makecert -n "CN=対象の名前" -pe -eku 1.3.6.1.5.5.7.3.1 -sky exchange -sy 12 -iv "ca.pvk" -ic "ca.cer" -sv "my.pvk" "my.cer" | |
:: 作った証明書と秘密鍵は pvk2pfx.exe を使ってインストール用ファイルにする |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment