{"action":"created","issue":{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/13","labels_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/13/comments","events_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/13/events","html_url":"https://github.com/aptible/docker-elasticsearch/pull/13","id":94995063,"number":13,"title":"Accept SSL_CERTIFICATE and SSL_KEY environment variables during initialization","user":{"login":"aaw","id":274931,"avatar_url":"https://avatars.githubusercontent.com/u/274931?v=3","gravatar_id":"","url":"https://api.github.com/users/aaw","html_url":"https://github.com/aaw","followers_url":"https://api.github.com/users/aaw/followers","following_url":"https://api.github.com/users/aaw/following{/other_user}","gists_url":"https://api.github.com/users/aaw/gists{/gist_id}","starred_url":"https://api.github.com/users/aaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaw/subscriptions","organizations_url":"https://api.github.com/users/aaw/orgs","repos_url":"https://api.github.com/users/aaw/repos","events_url":"https://api.github.com/users/aaw/events{/privacy}","received_events_url":"https://api.github.com/users/aaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T17:20:21Z","updated_at":"2015-07-14T20:14:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/pulls/13","html_url":"https://github.com/aptible/docker-elasticsearch/pull/13","diff_url":"https://github.com/aptible/docker-elasticsearch/pull/13.diff","patch_url":"https://github.com/aptible/docker-elasticsearch/pull/13.patch"},"body":"If these aren't set, the default behavior of this image doesn't change: we install a self-signed certificate and key for HTTPS. If these new environment variables are set, we use their contents as the certificate and key for HTTPS. This allows us to pass in aptible.in wildcard certificate and key and support HTTPS connections to Elasticsearch databases.\r\n\r\nThis PR is pending some more testing in a sandbox environment. If this goes through, I'll also need to add documentation to the [custom database spec](https://support.aptible.com/topics/paas/deploy-custom-database/) for SSL_CERTIFICATE and SSL_KEY, which would be officially supported env variables along with USERNAME, PASSPHRASE, and DATABASE."},"comment":{"url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/comments/121368406","html_url":"https://github.com/aptible/docker-elasticsearch/pull/13#issuecomment-121368406","issue_url":"https://api.github.com/repos/aptible/docker-elasticsearch/issues/13","id":121368406,"user":{"login":"fancyremarker","id":156030,"avatar_url":"https://avatars.githubusercontent.com/u/156030?v=3","gravatar_id":"","url":"https://api.github.com/users/fancyremarker","html_url":"https://github.com/fancyremarker","followers_url":"https://api.github.com/users/fancyremarker/followers","following_url":"https://api.github.com/users/fancyremarker/following{/other_user}","gists_url":"https://api.github.com/users/fancyremarker/gists{/gist_id}","starred_url":"https://api.github.com/users/fancyremarker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fancyremarker/subscriptions","organizations_url":"https://api.github.com/users/fancyremarker/orgs","repos_url":"https://api.github.com/users/fancyremarker/repos","events_url":"https://api.github.com/users/fancyremarker/events{/privacy}","received_events_url":"https://api.github.com/users/fancyremarker/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T20:14:41Z","updated_at":"2015-07-14T20:14:41Z","body":":+1: on this."}}