mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-21 00:45:49 +08:00
17 lines
375 B
Bash
17 lines
375 B
Bash
#!/bin/sh
|
|
|
|
for key in root ca server client
|
|
do
|
|
|
|
openssl genpkey -algorithm ED448 > ${key}-ed448-priv.pem
|
|
|
|
openssl pkey -in ${key}-ed448-priv.pem -outform DER -out ${key}-ed448-priv.der
|
|
|
|
openssl pkey -in ${key}-ed448-priv.pem -outform PEM -pubout -out ${key}-ed448-key.pem
|
|
|
|
openssl pkey -in ${key}-ed448-priv.pem -outform DER -pubout -out ${key}-ed448-key.der
|
|
|
|
done
|
|
|
|
|