zer.ooo-web/bin/sign-server-csr

6 lines
227 B
Text
Raw Normal View History

2016-04-05 00:19:21 +00:00
#!/usr/bin/env bash
DIR=$(dirname $(realpath $0));
CSR=$(realpath $1);
CRT=$(realpath $2);
cd $DIR/../;
2016-06-02 00:02:14 +00:00
openssl ca -in $CSR -out $CRT -config $DIR/../etc/openssl.conf -md sha256 -days 3650 -extensions server_ext -batch -notext;