Skip to content

Commit

Permalink
Fixes for keys and certificates generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkruglos committed Sep 10, 2017
1 parent 012d6fe commit 0d60d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/generate_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d60d13

Please sign in to comment.