OpenVPN dh-default.pem path bug in 3.6.2

This bug from 3.6 is still around

From my System Log

2017-04-16T08:09:59+02:00 err openvpn(server_turris)[3559]: OpenSSL: error:02001002:lib(2):func(1):reason(2)
2017-04-16T08:09:59+02:00 err openvpn(server_turris)[3559]: OpenSSL: error:2006D080:lib(32):func(109):reason(128)
2017-04-16T08:09:59+02:00 err openvpn(server_turris)[3559]: Cannot open /etc/dhparam/dh-default.pem for DH parameters
2017-04-16T08:09:59+02:00 notice openvpn(server_turris)[3559]: Exiting due to fatal error

No problems with OVPN till factory-reset and install 3.7.1

I fixed it like this:
create " /etc/dhparam/dh-default.pem" and paste content:

-----BEGIN DH PARAMETERS-----
MIIBOAKCATEA//////////+t+FRYortKmq/cViAnPTzx2LnFg84tNpWp4TZBFGQz
+8yTnc4kmz75fS/jY2MMddj2gbICrsRhetPfHtXV/WVhJDP1H18GbtCFY2VVPe0a
87VXE15/V8k1mE8McODmi3fipona8+/och3xWKE2rec1MKzKT0g6eXq8CrGCsyT7
YdEIqUuyyOP7uWrat2DX9GgdT0Kj3jlN9K5W7edjcrsZCwenyO4KbXCeAvzhzffi
7MA0BM0oNC9hkXL+nOmFg/+OTxIy7vKBg8P+OxtMb61zO7X8vC7CIAXFjvGDfRaD
ssbzSibBsu/6iGtCOGEfz9zeNVs7ZRkDW7w09N75nAI4YbRvydbmyQd62R0mkff3
7lmMsPrBhtkcrv4TCYUzyLP//////////wIBAg==
-----END DH PARAMETERS-----

Reboot and done.
This is my source: https://github.com/mitls/mitls-flex/blob/master/data/dh/default-dh.pem

1 Like

Thank you, fixed it following your directions.

Did a complete re-flash and setup, and OpenVPN is broken out of the box.

Gotta be honest, I am getting pretty tired of my turris.