Skip to content

Commit

Permalink
Fix SSL startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Rush committed Nov 24, 2015
1 parent 6324131 commit daa639d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HttpMasterWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ function serverForPortConfig(host, portNumber, portConfig) {
portConfig.ticketKeys = self.token;
}

server = baseModule.createServer(portConfig.ssl);

var cache = this.ocspCache = this.ocspCache || new ocsp.Cache();
server.on('OCSPRequest', function(cert, issuer, cb) {
ocsp.getOCSPURI(cert, function(err, uri) {
Expand Down

0 comments on commit daa639d

Please sign in to comment.