Created
August 6, 2013 22:55
-
-
Save Xeus/6169564 to your computer and use it in GitHub Desktop.
BEAST attack mitigation on node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// via http://www.ericmartindale.com/2012/07/19/mitigating-the-beast-tls-attack-in-nodejs/ | |
var options = { | |
key: fs.readFileSync('key.pem'), | |
cert: fs.readFileSync('cert.pem'), | |
ciphers: 'ECDHE-RSA-AES256-SHA:AES256-SHA:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM', | |
honorCipherOrder: true | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment