{"action":"created","issue":{"url":"https://api.github.com/repos/Daplie/node-letsencrypt/issues/15","repository_url":"https://api.github.com/repos/Daplie/node-letsencrypt","labels_url":"https://api.github.com/repos/Daplie/node-letsencrypt/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Daplie/node-letsencrypt/issues/15/comments","events_url":"https://api.github.com/repos/Daplie/node-letsencrypt/issues/15/events","html_url":"https://github.com/Daplie/node-letsencrypt/issues/15","id":125865124,"number":15,"title":"Error: An unknown error occurred.","user":{"login":"davidfekke","id":916406,"avatar_url":"https://avatars.githubusercontent.com/u/916406?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfekke","html_url":"https://github.com/davidfekke","followers_url":"https://api.github.com/users/davidfekke/followers","following_url":"https://api.github.com/users/davidfekke/following{/other_user}","gists_url":"https://api.github.com/users/davidfekke/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfekke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfekke/subscriptions","organizations_url":"https://api.github.com/users/davidfekke/orgs","repos_url":"https://api.github.com/users/davidfekke/repos","events_url":"https://api.github.com/users/davidfekke/events{/privacy}","received_events_url":"https://api.github.com/users/davidfekke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-11T03:02:11Z","updated_at":"2016-02-15T23:18:12Z","closed_at":"2016-02-15T23:18:12Z","body":"I received the following error when I tried to create a standalone cert using the following command:\r\n```bash\r\nsudo letsencrypt certonly --agree-tos --email david@fekke.com --standalone --domains fekke.com,www.fekke.com --config-dir ~/letsencrypt/etc --server https://acme-staging.api.letsencrypt.org/directory\r\n```\r\n\r\nError: An unknown error occurred. My best guess is that we got an error that we're not used to from the ACME server and accidentally interpretted it as a success... or forgot to expose the error.\r\nnull\r\nError: Here's a stack trace, in case it helps:\r\n    at /usr/local/lib/node_modules/letsencrypt-cli/bin/letsencrypt.js:121:15\r\n    at /usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/index.js:307:13\r\n    at /usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/index.js:202:26\r\n    at tryCatcher (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/util.js:11:23)\r\n    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:489:31)\r\n    at Promise._settlePromise (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:546:18)\r\n    at Promise._settlePromise0 (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:591:10)\r\n    at Promise._settlePromises (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:674:18)\r\n    at Promise._fulfill (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:615:18)\r\n    at Promise._resolveCallback (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:416:57)\r\n    at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:502:17)\r\n    at Promise._settlePromise (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:546:18)\r\n    at Promise._settlePromise0 (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:591:10)\r\n    at Promise._settlePromises (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:670:18)\r\n    at Promise._reject (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:634:18)\r\n    at Promise._rejectCallback (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/bluebird/js/release/promise.js:452:10)\r\nUnhandled rejection Error: The CA was unable to validate the file you provisioned: undefined\r\n    at handleErr (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:350:17)\r\n    at ensureValidation (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:226:16)\r\n    at Request._callback (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:215:13)\r\n    at Request.self.callback (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/request/request.js:198:22)\r\n    at emitTwo (events.js:87:13)\r\n    at Request.emit (events.js:172:7)\r\n    at Request.<anonymous> (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/request/request.js:1035:10)\r\n    at emitOne (events.js:82:20)\r\n    at Request.emit (events.js:169:7)\r\n    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/letsencrypt-cli/node_modules/letsencrypt/node_modules/request/request.js:962:12)\r\n    at emitNone (events.js:72:20)\r\n    at IncomingMessage.emit (events.js:166:7)\r\n    at endReadableNT (_stream_readable.js:905:12)\r\n    at doNTCallback2 (node.js:441:9)\r\n    at process._tickCallback (node.js:355:17)"},"comment":{"url":"https://api.github.com/repos/Daplie/node-letsencrypt/issues/comments/184437603","html_url":"https://github.com/Daplie/node-letsencrypt/issues/15#issuecomment-184437603","issue_url":"https://api.github.com/repos/Daplie/node-letsencrypt/issues/15","id":184437603,"user":{"login":"coolaj86","id":122831,"avatar_url":"https://avatars.githubusercontent.com/u/122831?v=3","gravatar_id":"","url":"https://api.github.com/users/coolaj86","html_url":"https://github.com/coolaj86","followers_url":"https://api.github.com/users/coolaj86/followers","following_url":"https://api.github.com/users/coolaj86/following{/other_user}","gists_url":"https://api.github.com/users/coolaj86/gists{/gist_id}","starred_url":"https://api.github.com/users/coolaj86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolaj86/subscriptions","organizations_url":"https://api.github.com/users/coolaj86/orgs","repos_url":"https://api.github.com/users/coolaj86/repos","events_url":"https://api.github.com/users/coolaj86/events{/privacy}","received_events_url":"https://api.github.com/users/coolaj86/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T23:18:12Z","updated_at":"2016-02-15T23:18:12Z","body":"Probably related fix: https://github.com/Daplie/letiny-core/pull/4\r\n\r\ntry v1.4.3\r\n\r\nClosing, but please reopen if it's not fixed"}}