summaryrefslogtreecommitdiff
path: root/tools/create-key.sh
blob: 9d29c866dfb7a984e2ed87ed783ced5a545f5ad5 (plain)
1
2
3
4
#!/bin/sh

openssl ecparam -name prime256v1 -genkey -noout -out $1-private.pem
openssl ec -in $1-private.pem -pubout -out $1.pem