diff --git a/README.md b/README.md index 68f27bc..b227697 100644 --- a/README.md +++ b/README.md @@ -122,8 +122,9 @@ For TLS, you'll need a private X509 key and a certificate. A self-signed key with a certificate can be generated like so: ``` cd ~/.config/wayvnc -openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \ - -keyout tls_key.pem -out tls_cert.pem -subj /CN=localhost \ +openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:secp384r1 -sha384 \ + -days 3650 -nodes -keyout tls_key.pem -out tls_cert.pem \ + -subj /CN=localhost \ -addext subjectAltName=DNS:localhost,DNS:localhost,IP:127.0.0.1 cd - ```