]> WPIA git - gigi.git/blob - doc/generateKeys.sh
Update key Generation Script to use stronger keys and no intermediate files
[gigi.git] / doc / generateKeys.sh
1 # this script generates a simple self-signed keypair
2
3 openssl genrsa -nodes -out jetty.key 4096
4 openssl req -new -key jetty.key -out jetty.csr -subj "/CN=localhost" -config selfsign.config
5 openssl x509 -req -days 365 -in jetty.csr -signkey jetty.key -out jetty.crt
6 openssl pkcs12 -inkey jetty.key -in jetty.crt -export -passout pass: -out ../config/keystore.pkcs12