monkey/monkey_island/create_certificate.bat

4 lines
303 B
Batchfile
Raw Normal View History

2015-09-29 22:01:09 +08:00
C:\OpenSSL-Win64\bin\openssl.exe genrsa -out cc\server.key 1024
C:\OpenSSL-Win64\bin\openssl.exe req -new -config C:\OpenSSL-Win64\bin\openssl.cfg -key cc\server.key -out cc\server.csr
C:\OpenSSL-Win64\bin\openssl.exe x509 -req -days 366 -in cc\server.csr -signkey cc\server.key -out cc\server.crt
pause