{"action":"closed","issue":{"url":"https://api.github.com/repos/kernelsauce/turbo/issues/310","repository_url":"https://api.github.com/repos/kernelsauce/turbo","labels_url":"https://api.github.com/repos/kernelsauce/turbo/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/kernelsauce/turbo/issues/310/comments","events_url":"https://api.github.com/repos/kernelsauce/turbo/issues/310/events","html_url":"https://github.com/kernelsauce/turbo/issues/310","id":227519666,"number":310,"title":"How to set ca_bundle for ssl server","user":{"login":"EstebanSannin","id":94637,"avatar_url":"https://avatars0.githubusercontent.com/u/94637?v=3","gravatar_id":"","url":"https://api.github.com/users/EstebanSannin","html_url":"https://github.com/EstebanSannin","followers_url":"https://api.github.com/users/EstebanSannin/followers","following_url":"https://api.github.com/users/EstebanSannin/following{/other_user}","gists_url":"https://api.github.com/users/EstebanSannin/gists{/gist_id}","starred_url":"https://api.github.com/users/EstebanSannin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EstebanSannin/subscriptions","organizations_url":"https://api.github.com/users/EstebanSannin/orgs","repos_url":"https://api.github.com/users/EstebanSannin/repos","events_url":"https://api.github.com/users/EstebanSannin/events{/privacy}","received_events_url":"https://api.github.com/users/EstebanSannin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-05-09T22:45:27Z","updated_at":"2017-05-25T15:38:29Z","closed_at":"2017-05-25T15:38:29Z","body":"Hi,\r\nI generated my ssl certificates on \"Let's Encrypt\" and now I have 3 files:\r\n`private.key` (private key)\r\n`certificate.crt` (certificate)\r\n`ca_bundle.crt` (CA Bundle)\r\n\r\nAn example of configuration on Apache Web Server is like this:\r\nSSLCertificateFile /path_to/certificate.crt \r\nSSLCertificateKeyFile /path_to/private.key\r\nSSLCACertificateFile /path_to/ca_bundle.crt\r\n\r\nThis is an example of my Turbo server:\r\n```lua\r\nTURBO_SSL = true\r\n\r\nlocal app = turbo.web.Application:new({\r\n   {\"/hello\", HelloNameHandler}\r\n})\r\n -- Set the server to listen on port 443 and start the ioloop.\r\napp:listen(443,nil,{\r\n  ssl_options = {\r\n    key_file = \"./sslkeys/private.key\",\r\n    cert_file = \"./sslkeys/certificate.crt\"\r\n}, max_body_size=1024*1024*500},{read_body=false})\r\n\r\nturbo.ioloop.instance():start()\r\n```\r\nCan I configure my `ca_bundle.crt` for the ssl connection?? \r\nBecause in the documentation and in the examples I have see only the `key_file` and `cert_file`\r\n"}}
{"actor":{"display_login":"EstebanSannin"}}