polhenarejos / acme_email

ACME Email Client for EmailReply-00 Challenge
https://acme.castle.cloud
GNU General Public License v3.0
46 stars 7 forks source link

certbot fails when called with --no-passphrase and --non-interactive #7

Closed augjoh closed 3 years ago

augjoh commented 3 years ago

When calling certbot with --no-passphrase and --non-interactive it fails during PFX creation:

$ python3 cli.py cert --no-passphrase --config-dir . --work-dir . --logs-dir ./logs -e address@mail --contact contact@${HOSTNAME} --imap --host mail --port 3143 --agree-tos --login address@mail --password address@mail --host mail --smtp-port 3025 --smtp-host mail --non-interactive
Saving debug log to /builds/platynum/certification-authority/flows/acme_email/logs/letsencrypt.log
[...]
Skipped user interaction because Certbot doesn't appear to be running in a terminal. You should probably include --non-interactive or --force-interactive on the command line.
Account registered.
Requesting a certificate for address@mail
[...]
Deploying certificate
Could not install certificate
An unexpected error occurred:
ValueError: Password must be 1 or more bytes.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /builds/platynum/certification-authority/flows/acme_email/logs/letsencrypt.log or re-run Certbot with -v for more details.
polhenarejos commented 3 years ago

Should be fixed in 8ddd1fc.