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.

certbot: error: argument -m/--email: expected one argument [Debian 10]

See original GitHub issue

Steps to reproduce

# /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
-------------------------------------------------------------------------
This script will:
- Need a working DNS record pointing to this machine(for domain jitsi.itkfm.at)
- Download certbot-auto from https://dl.eff.org to /usr/local/sbin
- Install additional dependencies in order to request Let’s Encrypt certificate
- If running with jetty serving web content, will stop Jitsi Videobridge
- Configure and reload nginx or apache2, whichever is used

You need to agree to the ACME server's Subscriber Agreement (https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf) 
by providing an email address for important account notifications
Enter your email and press [ENTER]: 
usage: 
  certbot-auto [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: argument -m/--email: expected one argument

Environment details

fresh install on Debian 10

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
itkfmcommented, Mar 18, 2020

Didn’t prompt me. Did jump right over that step.

0reactions
cobordismcommented, Oct 8, 2020

I made the mistake of just pressing Enter. The problem is the layout of this wall of text:

This script will:
- Need a working DNS record pointing to this machine(for domain meet.quarantine.family)
- Download certbot-auto from https://dl.eff.org to /usr/local/sbin
- Install additional dependencies in order to request Let’s Encrypt certificate
- If running with jetty serving web content, will stop Jitsi Videobridge
- Configure and reload nginx or apache2, whichever is used
- Configure the coturn server to use Let's Encrypt certificate and add required deploy hooks
- Add command in weekly cron job to renew certificates regularly

You need to agree to the ACME server's Subscriber Agreement (https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf) 
by providing an email address for important account notifications
Enter your email and press [ENTER]:

I read all the “This script will” part and then I pressed Enter to proceed. 😕 I missed the fact that is was asking for an email.

Anyway, running the script again fixed the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Certbot: error: argument -m/--email: expected one argument
Auto configuration for Linux client of no-ip.com. Only one host [myvpnlink.ddns.net] is registered to this account. It will be used. New ...
Read more >
certbot: error: argument --renew-hook: expected one argument
certbot : error: argument --renew-hook: expected one argument ... I am having an issue with renewing the certificate via let's encrypt on Nginx....
Read more >
Swag setup fails with certbot error: argument --eab-kid
certbot : error: argument --eab-kid: expected one argument ... It looks like it failed to get the eab from zerossl using your e-mail...
Read more >
1444814 – certbot: error: argument --pre-hook
Description of problem: When I try to run the certbot-renew service I get: Apr 24 07:15:23 server certbot[26600]: usage: Apr 24 07:15:23 ...
Read more >
Use Certbot to Enable HTTPS with Apache on Debian - Linode
The certbot revoke command revokes a certificate and provides an option for deleting it. The --cert-path parameter must include the location of ...
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