Permalink
Browse files

fixed ssl certs path

  • Loading branch information...
santeriv committed Aug 20, 2016
1 parent d11c098 commit 0fb69946c4a18ca1d9a9b5910f596517f912d372
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.js
View
4 app.js
@@ -47,8 +47,8 @@ http.createServer(app).listen(app.get('port'), function(){
console.log("Http Express server listening on port " + app.get('port'));
});
var certificate_authority = fs.readFileSync( 'freessl/ca-bundle.crt' ).toString();
var certificate = fs.readFileSync( 'freessl/certificate.crt' ).toString();
var certificate_authority = fs.readFileSync( 'sslforfree/ca-bundle.crt' ).toString();
var certificate = fs.readFileSync( 'sslforfree/certificate.crt' ).toString();
var sslPrivateKey = process.env.FREESSL_PRIVATE_KEY || '';
var options = {ca: certificate_authority, cert: certificate, key: sslPrivateKey};

0 comments on commit 0fb6994

Please sign in to comment.