{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi/issues/3092","repository_url":"https://api.github.com/repos/hapijs/hapi","labels_url":"https://api.github.com/repos/hapijs/hapi/issues/3092/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi/issues/3092/comments","events_url":"https://api.github.com/repos/hapijs/hapi/issues/3092/events","html_url":"https://github.com/hapijs/hapi/issues/3092","id":141810684,"number":3092,"title":"Configuring issue of SSl/TLS with manifest","user":{"login":"penumakauday","id":17923518,"avatar_url":"https://avatars.githubusercontent.com/u/17923518?v=3","gravatar_id":"","url":"https://api.github.com/users/penumakauday","html_url":"https://github.com/penumakauday","followers_url":"https://api.github.com/users/penumakauday/followers","following_url":"https://api.github.com/users/penumakauday/following{/other_user}","gists_url":"https://api.github.com/users/penumakauday/gists{/gist_id}","starred_url":"https://api.github.com/users/penumakauday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penumakauday/subscriptions","organizations_url":"https://api.github.com/users/penumakauday/orgs","repos_url":"https://api.github.com/users/penumakauday/repos","events_url":"https://api.github.com/users/penumakauday/events{/privacy}","received_events_url":"https://api.github.com/users/penumakauday/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hapijs/hapi/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"Marsup","id":796194,"avatar_url":"https://avatars.githubusercontent.com/u/796194?v=3","gravatar_id":"","url":"https://api.github.com/users/Marsup","html_url":"https://github.com/Marsup","followers_url":"https://api.github.com/users/Marsup/followers","following_url":"https://api.github.com/users/Marsup/following{/other_user}","gists_url":"https://api.github.com/users/Marsup/gists{/gist_id}","starred_url":"https://api.github.com/users/Marsup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marsup/subscriptions","organizations_url":"https://api.github.com/users/Marsup/orgs","repos_url":"https://api.github.com/users/Marsup/repos","events_url":"https://api.github.com/users/Marsup/events{/privacy}","received_events_url":"https://api.github.com/users/Marsup/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-03-18T09:07:07Z","updated_at":"2016-03-18T17:40:13Z","closed_at":"2016-03-18T16:53:38Z","body":"Hi,\r\n\r\nI am trying to configure the SSL in my code as below \r\n\r\nserver: {\r\n    connections: {\r\n      router: {\r\n        isCaseSensitive: false,\r\n        stripTrailingSlash: true\r\n      }\r\n    }\r\n\t\r\n\t \r\n  },\r\n  connections: [{\r\n    host: {\r\n      $filter: 'env',\r\n      production: process.env.HOST,\r\n      $default: '0.0.0.0'\r\n    },\r\n    port: {\r\n      $filter: 'env',\r\n      production: process.env.PORT,\r\n      $default: 3000\r\n\t  \r\n    },\r\n\t  tls: {\r\n            $filter: 'env',\r\n            development: false,\r\n            $default: tls\r\n          }\r\n  }],\r\n\r\nvar tls = {\r\n  key  : fs.readFileSync('testkey.pem'),\r\n  cert : fs.readFileSync('testcert.pem')\r\n};\r\n\r\nBut i am not able to start the server using https.. I am using glue for configurations."},"comment":{"url":"https://api.github.com/repos/hapijs/hapi/issues/comments/198466077","html_url":"https://github.com/hapijs/hapi/issues/3092#issuecomment-198466077","issue_url":"https://api.github.com/repos/hapijs/hapi/issues/3092","id":198466077,"user":{"login":"penumakauday","id":17923518,"avatar_url":"https://avatars.githubusercontent.com/u/17923518?v=3","gravatar_id":"","url":"https://api.github.com/users/penumakauday","html_url":"https://github.com/penumakauday","followers_url":"https://api.github.com/users/penumakauday/followers","following_url":"https://api.github.com/users/penumakauday/following{/other_user}","gists_url":"https://api.github.com/users/penumakauday/gists{/gist_id}","starred_url":"https://api.github.com/users/penumakauday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penumakauday/subscriptions","organizations_url":"https://api.github.com/users/penumakauday/orgs","repos_url":"https://api.github.com/users/penumakauday/repos","events_url":"https://api.github.com/users/penumakauday/events{/privacy}","received_events_url":"https://api.github.com/users/penumakauday/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T17:40:13Z","updated_at":"2016-03-18T17:40:13Z","body":"Yes.. Certs are proper.. HTTPS is starting with the following sample code:\r\n\r\nvar Hapi = require('hapi');\r\nvar server = new Hapi.Server();\r\n\r\nvar fs = require('fs');\r\n\r\nvar tls = {\r\n  key  : fs.readFileSync('testkey.pem'),\r\n  cert : fs.readFileSync('testcert.pem')\r\n};\r\n\r\nserver.connection({address: '0.0.0.0', port: 4430, tls: tls });\r\n\r\n\r\nserver.route({\r\n    method: 'GET',\r\n    path: '/',\r\n    handler: function (request, reply) {\r\n        reply('Hello, world!');\r\n    }\r\n});\r\n\r\nserver.start(function () {\r\n    console.log('Server running');\r\n});\r\n\r\n\r\nBut in my original code, tls is not working as expected. Yes i tried using the tls as you said. Thanks."}}