Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: http://admin.letmecode.in/ and http://api.letmecode.in/
I ran this command: /opt/letsencrypt/letsencrypt-auto renew -n --webroot -w /mnt/letmecode/apps/api -d www.api.letmecode.in -d api.letmecode.in -w /mnt/letmecode/apps/admin-portal -d www.admin.letmecode.in -d admin.letmecode.in
It produced this output: I’m trying to run above command from cron, but it is asking for user input. So, I want to run above command in non-interactive mode, So I added -n option. But, still it is throwing following error -
Which names would you like to activate HTTPS for?
1: admin.letmecode.in
2: api.letmecode.in
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): Exiting abnormally:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/bin/letsencrypt”, line 11, in
sys.exit(main())
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 861, in main
return config.func(config, plugins)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 692, in run
domains, certname = _find_domains_or_certname(config, installer)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 289, in _find_domains_or_certname
domains = display_ops.choose_names(installer)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/display/ops.py”, line 111, in choose_names
code, names = _filter_names(names)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/display/ops.py”, line 161, in _filter_names
tags=sorted_names, cli_flag="–domains", force_interactive=True)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/display/util.py”, line 258, in checklist
force_interactive=True)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/display/util.py”, line 181, in input
ans = input_with_timeout(message)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/display/util.py”, line 86, in input_with_timeout
raise EOFError
EOFError
An unexpected error occurred:
EOFError
Please see the logfiles in /var/log/letsencrypt for more details.
My web server is (include version): nginx/1.10.1
The operating system my web server runs on is (include version): Debian
My hosting provider, if applicable, is: N/A
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No