-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Error code: SSL_ERROR_RX_RECORD_TOO_LONG

added this
// Add this section code to here
var forceSSL = require('express-force-ssl');
var https = require('https');
var fs = require('fs');
var ssl_options = {
key: fs.readFileSync('localhost.decrypted.key'),
cert: fs.readFileSync('localhost.crt')
};
// Add this section code to here
var app = express();
// Add this section code to here
var secureServer = https.createServer(ssl_options, app);
// Add this section code to here
with below
// Add below line here
secureServer.listen(445);
Metadata
Metadata
Assignees
Labels
No labels