2014-08-02 07:14:14 +02:00
|
|
|
#!/bin/sh
|
2014-08-10 21:32:26 +02:00
|
|
|
rm index.*
|
|
|
|
rm serial.*
|
2014-08-02 07:14:14 +02:00
|
|
|
echo '1000' > serial
|
|
|
|
touch index.txt
|
|
|
|
|
|
|
|
echo Creating AC Req
|
|
|
|
openssl req -newkey rsa:1024 -keyout ac.key -config openssl.cnf -out ac.req
|
2014-08-11 17:31:04 +02:00
|
|
|
#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
|
2014-08-02 07:14:14 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|