Commit 4c1d5c29b5dec31f838dbe860ea682debaf27efe

Authored by Andreas Dannenberg
Committed by Tom Rini
1 parent 486c39c2e9

doc: clarify openssl-based key and certificate generation process

Add some basic clarification that the dev.key file generated by OpenSSL
contains both the public and private key, and further highlight that
the certificate generated here contains the public key only.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

doc/uImage.FIT/signature.txt
... ... @@ -62,14 +62,14 @@
62 62 also.
63 63  
64 64  
65   -Creating an RSA key and certificate
66   ------------------------------------
67   -To create a new public key, size 2048 bits:
  65 +Creating an RSA key pair and certificate
  66 +----------------------------------------
  67 +To create a new public/private key pair, size 2048 bits:
68 68  
69 69 $ openssl genpkey -algorithm RSA -out keys/dev.key \
70 70 -pkeyopt rsa_keygen_bits:2048 -pkeyopt rsa_keygen_pubexp:65537
71 71  
72   -To create a certificate for this:
  72 +To create a certificate for this containing the public key:
73 73  
74 74 $ openssl req -batch -new -x509 -key keys/dev.key -out keys/dev.crt
75 75