`openssl req -new -x509 -text -key client.key -out client.cert` creates a self-sign certificate but not a certificate request.
Signed-off-by: Wei-Ting Kuo <waitingkuo0527@gmail.com>
| ... | ... |
@@ -45,7 +45,7 @@ Our example is set up like this: |
| 45 | 45 |
## Creating the client certificates |
| 46 | 46 |
|
| 47 | 47 |
You will use OpenSSL's `genrsa` and `req` commands to first generate an RSA |
| 48 |
-key and then use the key to create the certificate request. |
|
| 48 |
+key and then use the key to create the certificate. |
|
| 49 | 49 |
|
| 50 | 50 |
$ openssl genrsa -out client.key 1024 |
| 51 | 51 |
$ openssl req -new -x509 -text -key client.key -out client.cert |