[doc] fix openssl command for ECDSA key generation (#5616)

This change fixes the command for generating ECDSA private keys.
The current command produces private key files which cannot be parsed
by the server.

Fixes #5614
master
Andreas Auernhammer 7 years ago committed by Dee Koder
parent 973ff2fabd
commit 889dd387f1
  1. 2
      docs/tls/README.md

@ -37,7 +37,7 @@ go run generate_cert.go -ca --host "10.10.0.3"
1. **ECDSA:** 1. **ECDSA:**
```sh ```sh
openssl ecparam -genkey -name prime256v1 -out private.key openssl ecparam -genkey -name prime256v1 | openssl ec -out private.key
``` ```
or protect the private key additionally with a password: or protect the private key additionally with a password:
```sh ```sh

Loading…
Cancel
Save