summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteffan Karger <steffan@karger.me>2015-01-01 20:46:09 +0100
committerGert Doering <gert@greenie.muc.de>2015-01-04 13:53:56 +0100
commitbd9aa06feb41838689ed01f79845bc765f887ae3 (patch)
tree442b4f8fa33f93fded9550f5dc1a0ba0af968b56 /doc
parent98ea2ec5d8085a6b7bd4ac125a68bd4d5cf3e092 (diff)
downloadopenvpn-bd9aa06feb41838689ed01f79845bc765f887ae3.tar.gz
openvpn-bd9aa06feb41838689ed01f79845bc765f887ae3.tar.xz
openvpn-bd9aa06feb41838689ed01f79845bc765f887ae3.zip
Add option to disable Diffie Hellman key exchange by setting '--dh none'
As requested on the mailing list and in trac ticket #410, add an option to disable 'traditional' Diffie Hellman key exchange. People want to be able to create ecdh-only configurations. This patch also disables RSA key exchange by default for OpenSSL builds, to prevent that people who set "--dh none" but have an OpenSSL version that doesn't support ECDH end up with a less secure connection. Note that users that specify their own --tls-cipher override these defaults and thus can still use whatever OpenSSL supports (and might thus end up with less secure connections). PolarSSL does not allow to easily disable RSA key exchange during runtime, but its default compile options do not include RSA key exchange based cipher suites. Finally update the manpage to reflect the new behaviour, and while touching it change the text to motivate users towards a more secure configuration. v2 - disable RSA key exchange by default Signed-off-by: Steffan Karger <steffan@karger.me> Acked-by: Arne Schwabe <arne@rfc2549.org> Message-Id: <1420141569-11773-1-git-send-email-steffan@karger.me> URL: http://article.gmane.org/gmane.network.openvpn.devel/9376 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/openvpn.815
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8
index 49183ee..a8c189c 100644
--- a/doc/openvpn.8
+++ b/doc/openvpn.8
@@ -4239,13 +4239,18 @@ Not available with PolarSSL.
File containing Diffie Hellman parameters
in .pem format (required for
.B \-\-tls-server
-only). Use
+only).
-.B openssl dhparam -out dh1024.pem 1024
+Set
+.B file=none
+to disable Diffie Hellman key exchange (and use ECDH only). Note that this
+requires peers to be using an SSL library that supports ECDH TLS cipher suites
+(e.g. OpenSSL 1.0.1+, or PolarSSL 1.3+).
-to generate your own, or use the existing dh1024.pem file
-included with the OpenVPN distribution. Diffie Hellman parameters
-may be considered public.
+Use
+.B openssl dhparam -out dh2048.pem 2048
+to generate 2048-bit DH parameters. Diffie Hellman parameters may be considered
+public.
.\"*********************************************************
.TP
.B \-\-ecdh-curve name