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