7 lines
228 B
Text
7 lines
228 B
Text
|
#!/usr/bin/env bash
|
||
|
DIR=$(dirname $(realpath $0));
|
||
|
CSR=$(realpath $1);
|
||
|
CRT=$(realpath $2);
|
||
|
cd $DIR/../;
|
||
|
openssl ca -in $CSR -out $CRT -config $DIR/../etc/openssl.conf -md sha256 -days 3650 -extensions client_ext -batch -notext;
|