This repository has been archived on 2022-01-23. You can view files and clone it, but cannot push or open issues or pull requests.
2016-02-22 01:42:47 -05:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2016-02-22 14:49:15 -05:00
|
|
|
echo "Generating certificate (${1}) (server certificate)..."
|
|
|
|
openssl ca -config ${rootdir}/intermediate/openssl.cnf -batch -days 3650 -extensions server_cert -notext -md sha512 -in ${rootdir}/csr/${1}.csr -out ${rootdir}/crt/${1}.crt > /dev/null 2>&1
|
|
|
|
chmod 444 ${rootdir}/crt/${1}.crt
|