gen-ed448-keys.sh 375 B

12345678910111213141516
  1. #!/bin/sh
  2. for key in root ca server client
  3. do
  4. openssl genpkey -algorithm ED448 > ${key}-ed448-priv.pem
  5. openssl pkey -in ${key}-ed448-priv.pem -outform DER -out ${key}-ed448-priv.der
  6. openssl pkey -in ${key}-ed448-priv.pem -outform PEM -pubout -out ${key}-ed448-key.pem
  7. openssl pkey -in ${key}-ed448-priv.pem -outform DER -pubout -out ${key}-ed448-key.der
  8. done