Created
February 29, 2012 08:51
-
-
Save matejskubic/1939264 to your computer and use it in GitHub Desktop.
makecert azure
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
call :MakeAndExport "Azure Management %1" | |
call :MakeAndExport "Azure RemoteDesktop %1" | |
goto exit: | |
:MakeAndExport | |
makecert -sky exchange -r -n "CN=%~1" -a sha1 -len 2048 -pe -ss My "%~1.cer" | |
certutil.exe -user -p "spCertPass-12" -exportPFX -privatekey "%~1" "%~1.pfx" | |
exit /b 0 | |
:exit | |
exit /b 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment