{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/1414","labels_url":"https://api.github.com/repos/progrium/dokku/issues/1414/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/1414/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/1414/events","html_url":"https://github.com/progrium/dokku/pull/1414","id":102893571,"number":1414,"title":"certs plugin","user":{"login":"michaelshobbs","id":4491438,"avatar_url":"https://avatars.githubusercontent.com/u/4491438?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelshobbs","html_url":"https://github.com/michaelshobbs","followers_url":"https://api.github.com/users/michaelshobbs/followers","following_url":"https://api.github.com/users/michaelshobbs/following{/other_user}","gists_url":"https://api.github.com/users/michaelshobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelshobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelshobbs/subscriptions","organizations_url":"https://api.github.com/users/michaelshobbs/orgs","repos_url":"https://api.github.com/users/michaelshobbs/repos","events_url":"https://api.github.com/users/michaelshobbs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelshobbs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/progrium/dokku/labels/bc-break","name":"bc-break","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-24T21:16:44Z","updated_at":"2015-08-26T00:29:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/progrium/dokku/pulls/1414","html_url":"https://github.com/progrium/dokku/pull/1414","diff_url":"https://github.com/progrium/dokku/pull/1414.diff","patch_url":"https://github.com/progrium/dokku/pull/1414.patch"},"body":"TODOS:\r\n- [x] remove 'magically' added VHOST entries based on SSL cert information\r\n- [x] implement `certs` plugin 'loosely' based on https://devcenter.heroku.com/articles/ssl-endpoint \r\n  - only implements `certs:remove`, `certs:info` and `certs:generate` (if someone wants to take a stab at the others, please feel free)\r\n- [x] document `certs` plugin\r\n- [x] document private/shared functions convention for plugins\r\n\r\nNote:\r\n- further implements cross-plugin function sharing. as a convention, we've seem to have settled on shareable functions residing in `<plugin_path>/functions` and non-shareable functions residing in `<plugin_path>/commands` (example [here](https://github.com/progrium/dokku/blob/5676dbc4c6bea9837e36aded1897221bcf4cdee6/plugins/nginx-vhosts/commands#L5-L26))\r\n\r\ncloses #1368 \r\n\r\nexample `certs:info` output\r\n```\r\nroot@dokku:~/dokku# dokku certs:info node-js-app\r\n-----> Fetching SSL Endpoint info for node-js-app...\r\n-----> Certificate details:\r\n=====> Common Name(s):\r\n=====>    test.dokku.me\r\n=====>    www.test.dokku.me\r\n=====>    www.test.app.dokku.me\r\n=====> Expires At: Jan 14 17:57:12 2017 GMT\r\n=====> Issuer: C=US, ST=California, L=San Francisco, OU=Dokku Me, LLC, CN=test.dokku.me\r\n=====> Starts At: Jan 15 17:57:12 2015 GMT\r\n=====> Subject: C=US; ST=California; L=San Francisco; OU=Dokku Me, LLC; CN=test.dokku.me\r\n=====> SSL certificate is self signed.\r\n```"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/134778240","html_url":"https://github.com/progrium/dokku/pull/1414#issuecomment-134778240","issue_url":"https://api.github.com/repos/progrium/dokku/issues/1414","id":134778240,"user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T00:29:41Z","updated_at":"2015-08-26T00:29:41Z","body":"How does someone replace the cert?"}}