Repeated 'Too many certificates already issued for exact set of domains' error #34

오픈
opened 2020-10-15 07:18:23 +00:00 by Ghost · 0개의 코멘트

I have already checked this post. But even though I tried that method, it didn't work, so I open a new issue.

I use AWS EC2 server and deploy with aws pipeline. So When I push to github repository, it will automatically build and deploy to production server.

At first it's works fine, and there are no errors in the console.

But one day an error began to occur. So when I checked the console, there was an error as below.

[Error Message in console]

set greenlockOptions.notify to override the default logger
certificate_order (more info available: account subject altnames challengeTypes)
Error cert_issue:
[acme-v2.js] authorizations were not fetched for 'expressme.ga':
{"type":"urn:ietf:params:acme:error:rateLimited","detail":"Error creating new order :: too many certificates already issued for exact set of domains: expressme.ga: see https://letsencrypt.org/docs/rate-limits/","status":429,"_identifiers":[{"type":"dns","value":"expressme.ga"}]}
Error: [acme-v2.js] authorizations were not fetched for 'expressme.ga':
{"type":"urn:ietf:params:acme:error:rateLimited","detail":"Error creating new order :: too many certificates already issued for exact set of domains: expressme.ga: see https://letsencrypt.org/docs/rate-limits/","status":429,"_identifiers":[{"type":"dns","value":"expressme.ga"}]}
    at Object.E.NO_AUTHORIZATIONS (/home/project/build/node_modules/@root/acme/errors.js:75:9)
    at /home/project/build/node_modules/@root/acme/acme.js:1198:11
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error cert_issue:
[acme-v2.js] authorizations were not fetched for 'expressme.ga':

In my opinion, I think there was a limit to the process of reissuing the certificate every time I push the code, but I don't know where the problem occurred even if I check the code.

My code structure is written as below and developed with Express.

[server.js]

"use strict";

const app = require("./app.js");

require("greenlock-express")
    .init({
        packageRoot: __dirname,
        configDir: "./greenlock.d",

        // contact for security and critical bug notices
        maintainerEmail: process.env.EMAIL,

        // whether or not to run at cloudscale
        cluster: false
    })
    // Serves on 80 and 443
    // Get's SSL certificates magically!
    .serve(app);

[greenlock.d/config.json]

{ "sites": [{ "subject": "expressme.ga", "altnames": ["expressme.ga"] }] }

[.greenlockrc]

{"configDir":"./greenlock.d"}

[package.json (scripts.start line)]

 "scripts": {
    "start": "node server.js"
  },

I am aware of the seven-day limit from Let's Encrypt. So I want to find a way to solve this problem.

I have already checked [this post](https://git.rootprojects.org/root/greenlock.js/issues/22). But even though I tried that method, it didn't work, so I open a new issue. I use AWS EC2 server and deploy with aws pipeline. So When I push to github repository, it will automatically build and deploy to production server. At first it's works fine, and there are no errors in the console. But one day an error began to occur. So when I checked the console, there was an error as below. **[Error Message in console]** ``` set greenlockOptions.notify to override the default logger certificate_order (more info available: account subject altnames challengeTypes) Error cert_issue: [acme-v2.js] authorizations were not fetched for 'expressme.ga': {"type":"urn:ietf:params:acme:error:rateLimited","detail":"Error creating new order :: too many certificates already issued for exact set of domains: expressme.ga: see https://letsencrypt.org/docs/rate-limits/","status":429,"_identifiers":[{"type":"dns","value":"expressme.ga"}]} Error: [acme-v2.js] authorizations were not fetched for 'expressme.ga': {"type":"urn:ietf:params:acme:error:rateLimited","detail":"Error creating new order :: too many certificates already issued for exact set of domains: expressme.ga: see https://letsencrypt.org/docs/rate-limits/","status":429,"_identifiers":[{"type":"dns","value":"expressme.ga"}]} at Object.E.NO_AUTHORIZATIONS (/home/project/build/node_modules/@root/acme/errors.js:75:9) at /home/project/build/node_modules/@root/acme/acme.js:1198:11 at processTicksAndRejections (internal/process/task_queues.js:97:5) Error cert_issue: [acme-v2.js] authorizations were not fetched for 'expressme.ga': ``` In my opinion, I think there was a limit to the process of reissuing the certificate every time I push the code, but I don't know where the problem occurred even if I check the code. My code structure is written as below and developed with Express. **[server.js]** ``` "use strict"; const app = require("./app.js"); require("greenlock-express") .init({ packageRoot: __dirname, configDir: "./greenlock.d", // contact for security and critical bug notices maintainerEmail: process.env.EMAIL, // whether or not to run at cloudscale cluster: false }) // Serves on 80 and 443 // Get's SSL certificates magically! .serve(app); ``` **[greenlock.d/config.json]** ``` { "sites": [{ "subject": "expressme.ga", "altnames": ["expressme.ga"] }] } ``` **[.greenlockrc]** ``` {"configDir":"./greenlock.d"} ``` **[package.json (scripts.start line)]** ``` "scripts": { "start": "node server.js" }, ``` I am aware of the seven-day limit from Let's Encrypt. So I want to find a way to solve this problem.
"로그인하여 이 대화에 참여"
레이블 없음
마일스톤 없음
담당자 없음
참여자 1명
알림
마감일
기한이 올바르지 않거나 범위를 벗어났습니다. 'yyyy-mm-dd'형식을 사용해주십시오.

마감일이 설정되지 않았습니다.

의존성

No dependencies set.

Reference: root/greenlock.js#34
No description provided.