Creates on certificate

FossilOrigin-Name: 1b0d1786eda748ab0627d97a577775b7c81a23699542d5c9bd5bb6255da4bcf7
This commit is contained in:
7u83@mail.ru 2015-01-22 22:32:18 +00:00
parent 5a5fb09a57
commit 668c9a73e8
1 changed files with 1 additions and 13 deletions

View File

@ -1,15 +1,3 @@
#!/bin/sh
rm index.*
rm serial.*
echo '1000' > serial
touch index.txt
echo Creating AC Req
openssl req -newkey rsa:1024 -keyout ac.key -config openssl.cnf -out ac.req
#openssl ca -startdate 700101000000 -enddate 300101000000 -config openssl.cnf -out ac.crt -infiles ac.req
openssl ca -config openssl.cnf -out ac.crt -infiles ac.req
echo Creating Wtp Cert
openssl req -newkey rsa:1024 -keyout wtp.key -config openssl.cnf -out wtp.req
openssl ca -config openssl.cnf -out wtp.crt -infiles wtp.req
./mkcert.sh ac