7 lines
144 B
Bash
7 lines
144 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "Generating CA key..."
|
|
openssl genrsa -out ${rootdir}/key/ca.key 4096 > /dev/null 2>&1
|
|
chmod 400 ${rootdir}/key/ca.key
|