openssl/ed25519

This commit is contained in:
Marc Beninca 2019-08-04 14:50:06 +02:00
parent 2a775218c5
commit 7f02473dfa

View file

@ -5,6 +5,9 @@ OpenSSL
Generate private key Generate private key
==================== ====================
RSA
---
.. code:: shell .. code:: shell
openssl \ openssl \
@ -19,8 +22,30 @@ Human readable:
openssl \ openssl \
rsa \ rsa \
-in "private_key.pem" \ -in "private_key.pem" \
-noout \
-text \ -text \
-noout \
> "private_key.txt"
ED25519
-------
.. code:: shell
openssl \
genpkey \
-algorithm ED25519 \
> "private_key.pem"
Human readable:
.. code:: shell
openssl \
pkey \
-in "private_key.pem" \
-text \
-noout \
> "private_key.txt"
Generate a certificate request Generate a certificate request
============================== ==============================
@ -56,9 +81,9 @@ Generate a certificate request
openssl \ openssl \
req \ req \
-new \ -new \
-key "private_key.pem" \
-out "certificate_request.csr" \
-utf8 \ -utf8 \
-key "private_key.pem" \
-out "certificate_request.csr"
Human readable: Human readable:
@ -67,8 +92,9 @@ Human readable:
openssl \ openssl \
req \ req \
-in "certificate_request.csr" \ -in "certificate_request.csr" \
-noout \
-text \ -text \
-noout \
> "certificate_request.txt"
Create a Certification Authority Create a Certification Authority
================================ ================================