19b49aa95f
FossilOrigin-Name: 7ccc7cfd165a1324a8b41bab7593c4641f7ee7da460eb1efe9b93ac878a43c75
16 lines
501 B
Bash
Executable File
16 lines
501 B
Bash
Executable File
#!/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
|
|
|