question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issuing new certbot cerificate - certbot: error: unrecognized arguments: --key-type=ecdsa --elliptic-curve=secp384r1

See original GitHub issue

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes (latest and 2.9.9)
  • Are you sure you’re not using someone else’s docker image?
    • Yes (jc21/nginx-proxy-manager:latest)
  • Have you searched for similar issues (both open and closed)?
    • Yes (no match at “is:issue certbot unrecognized arguments” )

Describe the bug Failed to issue certbot certificate

It it failing with:

certbot: error: unrecognized arguments: --key-type=ecdsa --elliptic-curve=secp384r1

Add Let's Encrypt Certificate
Internal Error

Error: Command failed: certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-29" --agree-tos --authenticator webroot --email "admin@itdesk.eu" --preferred-challenges "dns,http" --domains "next.brask.pl" 
usage: 
  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...

Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
it will attempt to use a webserver both for obtaining and installing the
certificate. 
**certbot: error: unrecognized arguments: --key-type=ecdsa --elliptic-curve=secp384r1**

    at ChildProcess.exithandler (node:child_process:397:12)
    at ChildProcess.emit (node:events:394:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)

Nginx Proxy Manager Version v2.9.9

To Reproduce Steps to reproduce the behavior:

  1. Go to SSL Certificates
  2. Click on [Add SSL Certificate] => Let’s encrypt
  3. Type domain, select “I agree”
  4. See error

Expected behavior Work 😃

Screenshots obraz

Operating System Linux, Docker compose

Additional context https://github.com/jc21/nginx-proxy-manager/commit/b1ceda3af4c4e14f8867443c9e333dc288389992

Can’t downgrade to 2.9.6 to check.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

2reactions
chaptergycommented, Oct 6, 2021

Edit: I misunderstood the file. I’ll update the version of the dns plugin which should fix this.

0reactions
kolorafacommented, Oct 6, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

certbot: error: unrecognized arguments: --key-type=ecdsa ...
Go to SSL Certificates; Click on [Add SSL Certificate] => Let's encrypt; Type domain, select "I agree"; See error. Expected behavior. Work ...
Read more >
Certbot: error: unrecognized arguments - Help
Hello, I tried generating a ssl certificate using certbot and node and while doing so I got this long error message.
Read more >
Why on ECS I got certbot: error: unrecognized arguments?
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing ...
Read more >
Certbot plugin. Get a free Let's Encrypt certificate using the ...
The Certbot plugin automates Let's Encrypt certificate issuance with Gcore DNS API. How it works. To issue a Let's Encrypt certificate for a...
Read more >
Common Certbot Errors & Solutions - Webdock.io
Let's Encrypt Certbot sometimes kicks up a fuss. In this article we document the most commonly encountered errors and how to solve them....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found