Permalink
Browse files

Fixes for keys and certificates generation script

  • Loading branch information...
michaelkruglos committed Sep 10, 2017
1 parent 012d6fe commit 0d60d138305ab351dee942b7e6a294cf563fa3ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/generate_keys.sh
@@ -3,7 +3,7 @@
openssl req -x509 -newkey rsa:4096 -keyout private-key.pem -out certificate.pem -days 365 -nodes -subj '/CN=tweek'
chmod go-rwx *.pem
ssh-keygen -y -f private-key.pem > public_ssh
openssl pkcs12 -export -nodes -in certificate.pem -out certificate.pfx -inkey private-key.pem -name "Tweek" -passout pass:
openssl pkcs12 -export -nodes -noiter -in certificate.pem -out certificate.pfx -nokeys -name "Tweek" -passout pass:

mkdir -p ssh
mv private-key.pem ssh/id_rsa # ssh private key

0 comments on commit 0d60d13

Please sign in to comment.