urn:acme:error:malformed - No JWK in JWS header #1

Closed
opened 2018-03-21 20:39:13 +00:00 by Ghost · 5 comments

I'm using greenlock. The first certificate is properly issued but all following certificates return the following error urn:acme:error:malformed - No JWK in JWS header

Any ideas what may be wrong?
Here's the full debug log

Mar 21 21:25:27 server1 node[23295]: le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed
Mar 21 21:25:27 server1 node[23295]: [le/lib/middleware.js] created middleware
Mar 21 21:25:27 server1 node[23295]:  [le-store-certbot] certificates.check
Mar 21 21:25:27 server1 node[23295]:  Error: ENOENT: no such file or directory, open '/data/ssl/letsencrypt//live/1234/privkey.pem'
Mar 21 21:25:30 server1 node[23295]:  [le-store-certbot] certificates.check
Mar 21 21:25:30 server1 node[23295]:  Error: ENOENT: no such file or directory, open '/data/ssl/letsencrypt//live/1234/privkey.pem'
Mar 21 21:25:30 server1 node[23295]: [le/lib/core.js] checkAsync failed to find certificates
Mar 21 21:25:30 server1 node[23295]: [le-store-certbot] success reading arg.accountsDir
Mar 21 21:25:30 server1 node[23295]: [le-store-certbot] regrs.length 1
Mar 21 21:25:30 server1 node[23295]: [le-store-certbot] accountId: 4a8...89
Mar 21 21:25:30 server1 node[23295]: [le/lib/core.js] calling le.acme.getCertificateAsync [ 'example.com', 'example1.com' ]
Mar 21 21:25:31 server1 node[23295]: deprecation notice: new signature for signJws(keypair, header, protect, payload)
Mar 21 21:25:31 server1 node[23295]:  TODO: modules which depend on this module should expose this error properly but since some of them don't, I expose it here directly:
Mar 21 21:25:31 server1 node[23295]:  Error: [Error] letiny-core: not 200 ok
Mar 21 21:25:31 server1 node[23295]:      at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15)
Mar 21 21:25:31 server1 node[23295]:      at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20
Mar 21 21:25:31 server1 node[23295]:      at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7)
Mar 21 21:25:31 server1 node[23295]:      at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22)
Mar 21 21:25:31 server1 node[23295]:      at emitTwo (events.js:125:13)
Mar 21 21:25:31 server1 node[23295]:      at Request.emit (events.js:213:7)
Mar 21 21:25:31 server1 node[23295]:      at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10)
Mar 21 21:25:31 server1 node[23295]:      at emitOne (events.js:115:13)
Mar 21 21:25:31 server1 node[23295]:      at Request.emit (events.js:210:7)
Mar 21 21:25:31 server1 node[23295]:      at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12)
Mar 21 21:25:31 server1 node[23295]:      at Object.onceWrapper (events.js:314:30)
Mar 21 21:25:31 server1 node[23295]:      at emitNone (events.js:110:20)
Mar 21 21:25:31 server1 node[23295]:      at IncomingMessage.emit (events.js:207:7)
Mar 21 21:25:31 server1 node[23295]:      at endReadableNT (_stream_readable.js:1047:12)
Mar 21 21:25:31 server1 node[23295]:      at _combinedTickCallback (internal/process/next_tick.js:102:11)
Mar 21 21:25:31 server1 node[23295]:      at process._tickCallback (internal/process/next_tick.js:161:9)
Mar 21 21:25:31 server1 node[23295]:  { type: 'urn:acme:error:malformed',
Mar 21 21:25:31 server1 node[23295]:    detail: 'No JWK in JWS header',
Mar 21 21:25:31 server1 node[23295]:    status: 400 }
Mar 21 21:25:31 server1 node[23295]: undefined { Error: [Error] letiny-core: not 200 ok
Mar 21 21:25:31 server1 node[23295]: at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15)
Mar 21 21:25:31 server1 node[23295]: at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20
Mar 21 21:25:31 server1 node[23295]: at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7)
Mar 21 21:25:31 server1 node[23295]: at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22)
Mar 21 21:25:31 server1 node[23295]: at emitTwo (events.js:125:13)
Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:213:7)
Mar 21 21:25:31 server1 node[23295]: at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10)
Mar 21 21:25:31 server1 node[23295]: at emitOne (events.js:115:13)
Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:210:7)
Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12)
Mar 21 21:25:31 server1 node[23295]: at Object.onceWrapper (events.js:314:30)
Mar 21 21:25:31 server1 node[23295]: at emitNone (events.js:110:20)
Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.emit (events.js:207:7)
Mar 21 21:25:31 server1 node[23295]: at endReadableNT (_stream_readable.js:1047:12)
Mar 21 21:25:31 server1 node[23295]: at _combinedTickCallback (internal/process/next_tick.js:102:11)
Mar 21 21:25:31 server1 node[23295]: at process._tickCallback (internal/process/next_tick.js:161:9)
Mar 21 21:25:31 server1 node[23295]: code: 'E_STATUS_CODE',
Mar 21 21:25:31 server1 node[23295]: type: 'urn:acme:error:malformed',
Mar 21 21:25:31 server1 node[23295]: description:
Mar 21 21:25:31 server1 node[23295]: { type: 'urn:acme:error:malformed',
Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header',
Mar 21 21:25:31 server1 node[23295]: status: 400 },
Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header' } undefined
Mar 21 21:25:31 server1 node[23295]:  { Error: [Error] letiny-core: not 200 ok
Mar 21 21:25:31 server1 node[23295]:      at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15)
Mar 21 21:25:31 server1 node[23295]:      at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20
Mar 21 21:25:31 server1 node[23295]:      at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7)
Mar 21 21:25:31 server1 node[23295]:      at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22)
Mar 21 21:25:31 server1 node[23295]:      at emitTwo (events.js:125:13)
Mar 21 21:25:31 server1 node[23295]:      at Request.emit (events.js:213:7)
Mar 21 21:25:31 server1 node[23295]:      at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10)
Mar 21 21:25:31 server1 node[23295]:      at emitOne (events.js:115:13)
Mar 21 21:25:31 server1 node[23295]:      at Request.emit (events.js:210:7)
Mar 21 21:25:31 server1 node[23295]:      at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12)
Mar 21 21:25:31 server1 node[23295]:      at Object.onceWrapper (events.js:314:30)
Mar 21 21:25:31 server1 node[23295]:      at emitNone (events.js:110:20)
Mar 21 21:25:31 server1 node[23295]:      at IncomingMessage.emit (events.js:207:7)
Mar 21 21:25:31 server1 node[23295]:      at endReadableNT (_stream_readable.js:1047:12)
Mar 21 21:25:31 server1 node[23295]:      at _combinedTickCallback (internal/process/next_tick.js:102:11)
Mar 21 21:25:31 server1 node[23295]:      at process._tickCallback (internal/process/next_tick.js:161:9)
Mar 21 21:25:31 server1 node[23295]:    cause:
Mar 21 21:25:31 server1 node[23295]:     { Error: [Error] letiny-core: not 200 ok
Mar 21 21:25:31 server1 node[23295]:         at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15)
Mar 21 21:25:31 server1 node[23295]:         at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20
Mar 21 21:25:31 server1 node[23295]:         at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7)
Mar 21 21:25:31 server1 node[23295]:         at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22)
Mar 21 21:25:31 server1 node[23295]:         at emitTwo (events.js:125:13)
Mar 21 21:25:31 server1 node[23295]:         at Request.emit (events.js:213:7)
Mar 21 21:25:31 server1 node[23295]:         at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10)
Mar 21 21:25:31 server1 node[23295]:         at emitOne (events.js:115:13)
Mar 21 21:25:31 server1 node[23295]:         at Request.emit (events.js:210:7)
Mar 21 21:25:31 server1 node[23295]:         at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12)
Mar 21 21:25:31 server1 node[23295]:         at Object.onceWrapper (events.js:314:30)
Mar 21 21:25:31 server1 node[23295]:         at emitNone (events.js:110:20)
Mar 21 21:25:31 server1 node[23295]:         at IncomingMessage.emit (events.js:207:7)
Mar 21 21:25:31 server1 node[23295]:         at endReadableNT (_stream_readable.js:1047:12)
Mar 21 21:25:31 server1 node[23295]:         at _combinedTickCallback (internal/process/next_tick.js:102:11)
Mar 21 21:25:31 server1 node[23295]:         at process._tickCallback (internal/process/next_tick.js:161:9)
Mar 21 21:25:31 server1 node[23295]:       code: 'E_STATUS_CODE',
Mar 21 21:25:31 server1 node[23295]:       type: 'urn:acme:error:malformed',
Mar 21 21:25:31 server1 node[23295]:       description:
Mar 21 21:25:31 server1 node[23295]:        { type: 'urn:acme:error:malformed',
Mar 21 21:25:31 server1 node[23295]:          detail: 'No JWK in JWS header',
Mar 21 21:25:31 server1 node[23295]:          status: 400 },
Mar 21 21:25:31 server1 node[23295]:       detail: 'No JWK in JWS header' },
Mar 21 21:25:31 server1 node[23295]:    isOperational: true,
Mar 21 21:25:31 server1 node[23295]:    code: 'E_STATUS_CODE',
Mar 21 21:25:31 server1 node[23295]:    type: 'urn:acme:error:malformed',
Mar 21 21:25:31 server1 node[23295]:    description:
Mar 21 21:25:31 server1 node[23295]:     { type: 'urn:acme:error:malformed',
Mar 21 21:25:31 server1 node[23295]:       detail: 'No JWK in JWS header',
Mar 21 21:25:31 server1 node[23295]:       status: 400 },
Mar 21 21:25:31 server1 node[23295]:    detail: 'No JWK in JWS header' }
Mar 21 21:25:31 server1 node[23295]:  Error: [Error] letiny-core: not 200 ok
Mar 21 21:25:31 server1 node[23295]:      at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15)
Mar 21 21:25:31 server1 node[23295]:      at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20
Mar 21 21:25:31 server1 node[23295]:      at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7)
Mar 21 21:25:31 server1 node[23295]:      at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22)
Mar 21 21:25:31 server1 node[23295]:      at emitTwo (events.js:125:13)
Mar 21 21:25:31 server1 node[23295]:      at Request.emit (events.js:213:7)
Mar 21 21:25:31 server1 node[23295]:      at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10)
Mar 21 21:25:31 server1 node[23295]:      at emitOne (events.js:115:13)
Mar 21 21:25:31 server1 node[23295]:      at Request.emit (events.js:210:7)
Mar 21 21:25:31 server1 node[23295]:      at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12)
Mar 21 21:25:31 server1 node[23295]:      at Object.onceWrapper (events.js:314:30)
Mar 21 21:25:31 server1 node[23295]:      at emitNone (events.js:110:20)
Mar 21 21:25:31 server1 node[23295]:      at IncomingMessage.emit (events.js:207:7)
Mar 21 21:25:31 server1 node[23295]:      at endReadableNT (_stream_readable.js:1047:12)
Mar 21 21:25:31 server1 node[23295]:      at _combinedTickCallback (internal/process/next_tick.js:102:11)
Mar 21 21:25:31 server1 node[23295]:      at process._tickCallback (internal/process/next_tick.js:161:9)
Mar 21 21:25:31 server1 node[23295]:  trace
Mar 21 21:25:31 server1 node[23295]:      at Console.console.trace (/root/evian-proxy-src/2018-03-21-20-59-17/init.js:58:7)
Mar 21 21:25:31 server1 node[23295]:      at _validateDomainsLocally.then.catch.err (/root/evian-proxy-src/2018-03-21-20-59-17/processors/ssl.js:407:21)
Mar 21 21:25:31 server1 node[23295]:      at <anonymous>
I'm using greenlock. The first certificate is properly issued but all following certificates return the following error `urn:acme:error:malformed - No JWK in JWS header` Any ideas what may be wrong? Here's the full debug log ``` Mar 21 21:25:27 server1 node[23295]: le.challenges[tls-sni-01].loopback should be defined as function (opts, domain, token, cb) { ... } and should prove (by external means) that the ACME server challenge 'tls-sni-01' will succeed Mar 21 21:25:27 server1 node[23295]: [le/lib/middleware.js] created middleware Mar 21 21:25:27 server1 node[23295]: [le-store-certbot] certificates.check Mar 21 21:25:27 server1 node[23295]: Error: ENOENT: no such file or directory, open '/data/ssl/letsencrypt//live/1234/privkey.pem' Mar 21 21:25:30 server1 node[23295]: [le-store-certbot] certificates.check Mar 21 21:25:30 server1 node[23295]: Error: ENOENT: no such file or directory, open '/data/ssl/letsencrypt//live/1234/privkey.pem' Mar 21 21:25:30 server1 node[23295]: [le/lib/core.js] checkAsync failed to find certificates Mar 21 21:25:30 server1 node[23295]: [le-store-certbot] success reading arg.accountsDir Mar 21 21:25:30 server1 node[23295]: [le-store-certbot] regrs.length 1 Mar 21 21:25:30 server1 node[23295]: [le-store-certbot] accountId: 4a8...89 Mar 21 21:25:30 server1 node[23295]: [le/lib/core.js] calling le.acme.getCertificateAsync [ 'example.com', 'example1.com' ] Mar 21 21:25:31 server1 node[23295]: deprecation notice: new signature for signJws(keypair, header, protect, payload) Mar 21 21:25:31 server1 node[23295]: TODO: modules which depend on this module should expose this error properly but since some of them don't, I expose it here directly: Mar 21 21:25:31 server1 node[23295]: Error: [Error] letiny-core: not 200 ok Mar 21 21:25:31 server1 node[23295]: at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15) Mar 21 21:25:31 server1 node[23295]: at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20 Mar 21 21:25:31 server1 node[23295]: at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7) Mar 21 21:25:31 server1 node[23295]: at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22) Mar 21 21:25:31 server1 node[23295]: at emitTwo (events.js:125:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:213:7) Mar 21 21:25:31 server1 node[23295]: at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10) Mar 21 21:25:31 server1 node[23295]: at emitOne (events.js:115:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:210:7) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12) Mar 21 21:25:31 server1 node[23295]: at Object.onceWrapper (events.js:314:30) Mar 21 21:25:31 server1 node[23295]: at emitNone (events.js:110:20) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.emit (events.js:207:7) Mar 21 21:25:31 server1 node[23295]: at endReadableNT (_stream_readable.js:1047:12) Mar 21 21:25:31 server1 node[23295]: at _combinedTickCallback (internal/process/next_tick.js:102:11) Mar 21 21:25:31 server1 node[23295]: at process._tickCallback (internal/process/next_tick.js:161:9) Mar 21 21:25:31 server1 node[23295]: { type: 'urn:acme:error:malformed', Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header', Mar 21 21:25:31 server1 node[23295]: status: 400 } Mar 21 21:25:31 server1 node[23295]: undefined { Error: [Error] letiny-core: not 200 ok Mar 21 21:25:31 server1 node[23295]: at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15) Mar 21 21:25:31 server1 node[23295]: at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20 Mar 21 21:25:31 server1 node[23295]: at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7) Mar 21 21:25:31 server1 node[23295]: at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22) Mar 21 21:25:31 server1 node[23295]: at emitTwo (events.js:125:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:213:7) Mar 21 21:25:31 server1 node[23295]: at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10) Mar 21 21:25:31 server1 node[23295]: at emitOne (events.js:115:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:210:7) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12) Mar 21 21:25:31 server1 node[23295]: at Object.onceWrapper (events.js:314:30) Mar 21 21:25:31 server1 node[23295]: at emitNone (events.js:110:20) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.emit (events.js:207:7) Mar 21 21:25:31 server1 node[23295]: at endReadableNT (_stream_readable.js:1047:12) Mar 21 21:25:31 server1 node[23295]: at _combinedTickCallback (internal/process/next_tick.js:102:11) Mar 21 21:25:31 server1 node[23295]: at process._tickCallback (internal/process/next_tick.js:161:9) Mar 21 21:25:31 server1 node[23295]: code: 'E_STATUS_CODE', Mar 21 21:25:31 server1 node[23295]: type: 'urn:acme:error:malformed', Mar 21 21:25:31 server1 node[23295]: description: Mar 21 21:25:31 server1 node[23295]: { type: 'urn:acme:error:malformed', Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header', Mar 21 21:25:31 server1 node[23295]: status: 400 }, Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header' } undefined Mar 21 21:25:31 server1 node[23295]: { Error: [Error] letiny-core: not 200 ok Mar 21 21:25:31 server1 node[23295]: at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15) Mar 21 21:25:31 server1 node[23295]: at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20 Mar 21 21:25:31 server1 node[23295]: at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7) Mar 21 21:25:31 server1 node[23295]: at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22) Mar 21 21:25:31 server1 node[23295]: at emitTwo (events.js:125:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:213:7) Mar 21 21:25:31 server1 node[23295]: at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10) Mar 21 21:25:31 server1 node[23295]: at emitOne (events.js:115:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:210:7) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12) Mar 21 21:25:31 server1 node[23295]: at Object.onceWrapper (events.js:314:30) Mar 21 21:25:31 server1 node[23295]: at emitNone (events.js:110:20) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.emit (events.js:207:7) Mar 21 21:25:31 server1 node[23295]: at endReadableNT (_stream_readable.js:1047:12) Mar 21 21:25:31 server1 node[23295]: at _combinedTickCallback (internal/process/next_tick.js:102:11) Mar 21 21:25:31 server1 node[23295]: at process._tickCallback (internal/process/next_tick.js:161:9) Mar 21 21:25:31 server1 node[23295]: cause: Mar 21 21:25:31 server1 node[23295]: { Error: [Error] letiny-core: not 200 ok Mar 21 21:25:31 server1 node[23295]: at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15) Mar 21 21:25:31 server1 node[23295]: at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20 Mar 21 21:25:31 server1 node[23295]: at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7) Mar 21 21:25:31 server1 node[23295]: at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22) Mar 21 21:25:31 server1 node[23295]: at emitTwo (events.js:125:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:213:7) Mar 21 21:25:31 server1 node[23295]: at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10) Mar 21 21:25:31 server1 node[23295]: at emitOne (events.js:115:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:210:7) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12) Mar 21 21:25:31 server1 node[23295]: at Object.onceWrapper (events.js:314:30) Mar 21 21:25:31 server1 node[23295]: at emitNone (events.js:110:20) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.emit (events.js:207:7) Mar 21 21:25:31 server1 node[23295]: at endReadableNT (_stream_readable.js:1047:12) Mar 21 21:25:31 server1 node[23295]: at _combinedTickCallback (internal/process/next_tick.js:102:11) Mar 21 21:25:31 server1 node[23295]: at process._tickCallback (internal/process/next_tick.js:161:9) Mar 21 21:25:31 server1 node[23295]: code: 'E_STATUS_CODE', Mar 21 21:25:31 server1 node[23295]: type: 'urn:acme:error:malformed', Mar 21 21:25:31 server1 node[23295]: description: Mar 21 21:25:31 server1 node[23295]: { type: 'urn:acme:error:malformed', Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header', Mar 21 21:25:31 server1 node[23295]: status: 400 }, Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header' }, Mar 21 21:25:31 server1 node[23295]: isOperational: true, Mar 21 21:25:31 server1 node[23295]: code: 'E_STATUS_CODE', Mar 21 21:25:31 server1 node[23295]: type: 'urn:acme:error:malformed', Mar 21 21:25:31 server1 node[23295]: description: Mar 21 21:25:31 server1 node[23295]: { type: 'urn:acme:error:malformed', Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header', Mar 21 21:25:31 server1 node[23295]: status: 400 }, Mar 21 21:25:31 server1 node[23295]: detail: 'No JWK in JWS header' } Mar 21 21:25:31 server1 node[23295]: Error: [Error] letiny-core: not 200 ok Mar 21 21:25:31 server1 node[23295]: at bodyToError (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:55:15) Mar 21 21:25:31 server1 node[23295]: at /root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/get-certificate.js:99:20 Mar 21 21:25:31 server1 node[23295]: at Request._callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/le-acme-core/lib/acme-client.js:113:7) Mar 21 21:25:31 server1 node[23295]: at Request.self.callback (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:188:22) Mar 21 21:25:31 server1 node[23295]: at emitTwo (events.js:125:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:213:7) Mar 21 21:25:31 server1 node[23295]: at Request.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1171:10) Mar 21 21:25:31 server1 node[23295]: at emitOne (events.js:115:13) Mar 21 21:25:31 server1 node[23295]: at Request.emit (events.js:210:7) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.<anonymous> (/root/evian-proxy-src/2018-03-21-20-59-17/node_modules/request/request.js:1091:12) Mar 21 21:25:31 server1 node[23295]: at Object.onceWrapper (events.js:314:30) Mar 21 21:25:31 server1 node[23295]: at emitNone (events.js:110:20) Mar 21 21:25:31 server1 node[23295]: at IncomingMessage.emit (events.js:207:7) Mar 21 21:25:31 server1 node[23295]: at endReadableNT (_stream_readable.js:1047:12) Mar 21 21:25:31 server1 node[23295]: at _combinedTickCallback (internal/process/next_tick.js:102:11) Mar 21 21:25:31 server1 node[23295]: at process._tickCallback (internal/process/next_tick.js:161:9) Mar 21 21:25:31 server1 node[23295]: trace Mar 21 21:25:31 server1 node[23295]: at Console.console.trace (/root/evian-proxy-src/2018-03-21-20-59-17/init.js:58:7) Mar 21 21:25:31 server1 node[23295]: at _validateDomainsLocally.then.catch.err (/root/evian-proxy-src/2018-03-21-20-59-17/processors/ssl.js:407:21) Mar 21 21:25:31 server1 node[23295]: at <anonymous> ```
Owner

Reinstall. Should be fixed in (newly published) le-acme-core.js v2.1.2 and rsa-compat.js v1.3.2

Reinstall. Should be fixed in (newly published) le-acme-core.js v2.1.2 and rsa-compat.js v1.3.2
Owner

Also, the ACME v1 API is being deprecated (by Let's Encrypt) in a few weeks.

I've started work on the ACME v2 API here:

https://git.coolaj86.com/coolaj86/acme-v2.js

Fair warning: the API will change, but not too much.

I think I'll have a require('acme-v2/compat') type of thing so that it will work with v1 clients.

Also, the ACME v1 API is being deprecated (by Let's Encrypt) in a few weeks. I've started work on the ACME v2 API here: https://git.coolaj86.com/coolaj86/acme-v2.js Fair warning: the API *will* change, but not too much. I think I'll have a `require('acme-v2/compat')` type of thing so that it will work with v1 clients.
Author

Thanks, reinstalling resolved the issue.
Btw I didn't get any email notification about your comment. Maybe there's some issue with notifications...

Thanks, reinstalling resolved the issue. Btw I didn't get any email notification about your comment. Maybe there's some issue with notifications...
Ghost closed this issue 2018-03-25 21:15:12 +00:00
Owner

I ran another test email and upgraded to gitea v1.4.0.

Let me know if you get a notification for this, please.

I ran another test email and upgraded to gitea v1.4.0. Let me know if you get a notification for this, please.
Author

The notification arrived properly.

The notification arrived properly.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/le-acme-core.js#1
No description provided.