added batch files to generate sample certs on Windows

This commit is contained in:
Thijs Schreijer
2015-04-03 23:51:16 +02:00
parent 21aefcf67d
commit 7c02208590
7 changed files with 64 additions and 0 deletions

7
samples/certs/rootA.bat Normal file
View File

@ -0,0 +1,7 @@
REM #!/bin/sh
openssl req -newkey rsa:1024 -sha1 -keyout rootAkey.pem -out rootAreq.pem -nodes -config ./rootA.cnf -days 365 -batch
openssl x509 -req -in rootAreq.pem -sha1 -extfile ./rootA.cnf -extensions v3_ca -signkey rootAkey.pem -out rootA.pem -days 365
openssl x509 -subject -issuer -noout -in rootA.pem