Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amotmot/0483e9f0539d5869632c9de6deb20576 to your computer and use it in GitHub Desktop.
Save amotmot/0483e9f0539d5869632c9de6deb20576 to your computer and use it in GitHub Desktop.
alias disable_forward_secrecy_haproxy="sed -i \"s/ciphers 'AES128+EECDH:AES128+EDH'/ciphers 'AES128-SHA'/\" /path/to/haproxy.conf"
alias enable_forward_secrecy_haproxy="sed -i \"s/ciphers 'AES128-SHA'/ciphers 'AES128+EECDH:AES128+EDH'/\" /path/to/haproxy.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment