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.
ssladmin/gen.intermediate.key.sh
2016-02-22 01:42:47 -05:00

7 lines
179 B
Bash

#!/bin/bash
set -e
echo "Generating intermediate key..."
openssl genrsa -out ${rootdir}/intermdiate/key/ca.key 4096 > /dev/null 2>&1
chmod 400 ${rootdir}/intermediate/key/ca.key