Skip to content

Instantly share code, notes, and snippets.

@rk295
Created January 18, 2015 09:34
Show Gist options
  • Save rk295/25176f150c24f95df73e to your computer and use it in GitHub Desktop.
Save rk295/25176f150c24f95df73e to your computer and use it in GitHub Desktop.
Openvpn enable MD5 Centos 7 hack
Not advised, but until I can work out which keys are MD5...
[Unit]
Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I
After=network.target
[Service]
PrivateTmp=true
Type=forking
PIDFile=/var/run/openvpn/%i.pid
ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
Environment="OPENSSL_ENABLE_MD5_VERIFY=1 NSS_HASH_ALG_SUPPORT=+MD5"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment