{"action":"created","issue":{"url":"https://api.github.com/repos/processone/ejabberd/issues/2488","repository_url":"https://api.github.com/repos/processone/ejabberd","labels_url":"https://api.github.com/repos/processone/ejabberd/issues/2488/labels{/name}","comments_url":"https://api.github.com/repos/processone/ejabberd/issues/2488/comments","events_url":"https://api.github.com/repos/processone/ejabberd/issues/2488/events","html_url":"https://github.com/processone/ejabberd/issues/2488","id":335560924,"node_id":"MDU6SXNzdWUzMzU1NjA5MjQ=","number":2488,"title":"can't load letsencrypt certificate","user":{"login":"OneOfOne","id":1080443,"node_id":"MDQ6VXNlcjEwODA0NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/1080443?v=4","gravatar_id":"","url":"https://api.github.com/users/OneOfOne","html_url":"https://github.com/OneOfOne","followers_url":"https://api.github.com/users/OneOfOne/followers","following_url":"https://api.github.com/users/OneOfOne/following{/other_user}","gists_url":"https://api.github.com/users/OneOfOne/gists{/gist_id}","starred_url":"https://api.github.com/users/OneOfOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OneOfOne/subscriptions","organizations_url":"https://api.github.com/users/OneOfOne/orgs","repos_url":"https://api.github.com/users/OneOfOne/repos","events_url":"https://api.github.com/users/OneOfOne/events{/privacy}","received_events_url":"https://api.github.com/users/OneOfOne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zinid","id":1095902,"node_id":"MDQ6VXNlcjEwOTU5MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1095902?v=4","gravatar_id":"","url":"https://api.github.com/users/zinid","html_url":"https://github.com/zinid","followers_url":"https://api.github.com/users/zinid/followers","following_url":"https://api.github.com/users/zinid/following{/other_user}","gists_url":"https://api.github.com/users/zinid/gists{/gist_id}","starred_url":"https://api.github.com/users/zinid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinid/subscriptions","organizations_url":"https://api.github.com/users/zinid/orgs","repos_url":"https://api.github.com/users/zinid/repos","events_url":"https://api.github.com/users/zinid/events{/privacy}","received_events_url":"https://api.github.com/users/zinid/received_events","type":"User","site_admin":false},"assignees":[{"login":"zinid","id":1095902,"node_id":"MDQ6VXNlcjEwOTU5MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1095902?v=4","gravatar_id":"","url":"https://api.github.com/users/zinid","html_url":"https://github.com/zinid","followers_url":"https://api.github.com/users/zinid/followers","following_url":"https://api.github.com/users/zinid/following{/other_user}","gists_url":"https://api.github.com/users/zinid/gists{/gist_id}","starred_url":"https://api.github.com/users/zinid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinid/subscriptions","organizations_url":"https://api.github.com/users/zinid/orgs","repos_url":"https://api.github.com/users/zinid/repos","events_url":"https://api.github.com/users/zinid/events{/privacy}","received_events_url":"https://api.github.com/users/zinid/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/processone/ejabberd/milestones/32","html_url":"https://github.com/processone/ejabberd/milestone/32","labels_url":"https://api.github.com/repos/processone/ejabberd/milestones/32/labels","id":3389897,"node_id":"MDk6TWlsZXN0b25lMzM4OTg5Nw==","number":32,"title":"ejabberd 18.06","description":"","creator":{"login":"cromain","id":743187,"node_id":"MDQ6VXNlcjc0MzE4Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/743187?v=4","gravatar_id":"","url":"https://api.github.com/users/cromain","html_url":"https://github.com/cromain","followers_url":"https://api.github.com/users/cromain/followers","following_url":"https://api.github.com/users/cromain/following{/other_user}","gists_url":"https://api.github.com/users/cromain/gists{/gist_id}","starred_url":"https://api.github.com/users/cromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cromain/subscriptions","organizations_url":"https://api.github.com/users/cromain/orgs","repos_url":"https://api.github.com/users/cromain/repos","events_url":"https://api.github.com/users/cromain/events{/privacy}","received_events_url":"https://api.github.com/users/cromain/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2018-05-31T09:22:40Z","updated_at":"2018-06-25T22:45:59Z","due_on":null,"closed_at":null},"comments":27,"created_at":"2018-06-25T20:44:48Z","updated_at":"2018-06-25T22:46:19Z","closed_at":null,"author_association":"NONE","body":"> What version of ejabberd are you using?\r\n\r\ncommunity/ejabberd 18.04-1\r\n\r\n> What operating system (version) are you using?\r\n\r\nArch Linux 4.17.2-1-ARCH\r\n\r\n> How did you install ejabberd (source, package, distribution)?\r\n\r\ndistro package\r\n\r\n\r\n> What did not work as expected? Are there error messages in the log? What\r\n> was the unexpected behavior? What was the expected result?\r\n\r\nUsing `- \"/etc/letsencrypt/live/<domain>/*.pem\"` worked until after reboot, now it gives me `failed to decode from DER format`.\r\n\r\nI tried `cat /etc/letsencrypt/live/<domain>/{privkey,fullchain}.pem > ejabberd.pem` and `cat /etc/letsencrypt/live/<domain>/{fullchain,privkey}.pem > ejabberd.pem` like some domains suggested but I still got the same error:\r\n\r\n```\r\n2018-06-25 20:38:21.079 [error] <0.377.0>@ejabberd_pkix:add_certfile:383 failed to read certificate from /etc/ejabberd/ejabberd.pem: failed to decode from DER format\r\n2018-06-25 20:38:21.120 [warning] <0.377.0>@ejabberd_pkix:handle_call:254 No certificate found matching '<domain>': strictly configured clients or servers will reject connections with this host; obtain a certificate for this (sub)domain from any trusted CA such as Let's Encrypt (www.letsencrypt.org)\r\n```\r\n\r\nI'm not using the acme module because those certs are used by other services on the server.\r\n"},"comment":{"url":"https://api.github.com/repos/processone/ejabberd/issues/comments/400119546","html_url":"https://github.com/processone/ejabberd/issues/2488#issuecomment-400119546","issue_url":"https://api.github.com/repos/processone/ejabberd/issues/2488","id":400119546,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDExOTU0Ng==","user":{"login":"zinid","id":1095902,"node_id":"MDQ6VXNlcjEwOTU5MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1095902?v=4","gravatar_id":"","url":"https://api.github.com/users/zinid","html_url":"https://github.com/zinid","followers_url":"https://api.github.com/users/zinid/followers","following_url":"https://api.github.com/users/zinid/following{/other_user}","gists_url":"https://api.github.com/users/zinid/gists{/gist_id}","starred_url":"https://api.github.com/users/zinid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zinid/subscriptions","organizations_url":"https://api.github.com/users/zinid/orgs","repos_url":"https://api.github.com/users/zinid/repos","events_url":"https://api.github.com/users/zinid/events{/privacy}","received_events_url":"https://api.github.com/users/zinid/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T22:46:19Z","updated_at":"2018-06-25T22:46:19Z","author_association":"MEMBER","body":"I will try to fix the issue by 18.06, thanks for the report."}}
{"actor":{"display_login":"zinid"}}