Add ciphers
This commit is contained in:
parent
1f73f8a42d
commit
784914be7a
1 changed files with 4 additions and 1 deletions
|
|
@ -73,7 +73,10 @@ config.load(function(err, conf) {
|
||||||
var options = {
|
var options = {
|
||||||
key: privateKey,
|
key: privateKey,
|
||||||
cert: certificate,
|
cert: certificate,
|
||||||
requestCert: true
|
requestCert: true,
|
||||||
|
secureProtocol: 'TLSv1_method',
|
||||||
|
ciphers: 'AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH',
|
||||||
|
honorCipherOrder: true
|
||||||
};
|
};
|
||||||
|
|
||||||
https.createServer(options, app).listen(port, function () {
|
https.createServer(options, app).listen(port, function () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue