setup/ssl/keygen

9 lines
187 B
Bash
Executable File

#!/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;