setup/ssl/keygen

9 lines
187 B
Plaintext
Raw Normal View History

2017-01-18 20:51:05 +00:00
#!/bin/sh
# create private key (ecdsa:521)
openssl ecparam -genkey -name secp256k1 -noout -out ./keys/key;
# generate public key
openssl ec -in ./keys/key -pubout -out ./keys/key.pub;