LetsEncrypt script fails with error

Issue #40 resolved
Marty Brands created an issue

I'm getting an error mailed to me every day about the LetsEcnrypt certificate generation. More information about my situation: - I've already uploaded a custom TLS certificate before and this is working - There are 6 domains active

Error message in mail:

#!

There was error when issuing new Let's encrypt certificate

[2016-02-04 06:25:06] LEScript.INFO: Account already registered. Continuing.
[2016-02-04 06:25:06] LEScript.INFO: Starting certificate generation process for domains
[2016-02-04 06:25:06] LEScript.INFO: Requesting challenge for 
[2016-02-04 06:25:07] LEScript.INFO: Sending signed request to /acme/new-authz
[2016-02-04 06:25:07] LEScript.ERROR: Notice: Undefined index: challenges
[2016-02-04 06:25:07] LEScript.ERROR: #0 /opt/mailserver-admin/vendor/analogic/lescript/Lescript.php(72): Symfony\Component\Debug\ErrorHandler->handleError(8, 'Undefined index...', '/opt/mailserver...', 72, Array)
[2016-02-04 06:25:07] LEScript.ERROR: #1 /opt/mailserver-admin/src/Analogic/LetsEncryptBundle/Handler/LeHandler.php(54): Analogic\ACME\Lescript->signDomains(Array)
[2016-02-04 06:25:07] LEScript.ERROR: #2 /opt/mailserver-admin/src/Analogic/LetsEncryptBundle/Command/RenewCommand.php(30): Analogic\LetsEncryptBundle\Handler\LeHandler->renew()
[2016-02-04 06:25:07] LEScript.ERROR: #3 /opt/mailserver-admin/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(256): Analogic\LetsEncryptBundle\Command\RenewCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2016-02-04 06:25:07] LEScript.ERROR: #4 /opt/mailserver-admin/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(849): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2016-02-04 06:25:07] LEScript.ERROR: #5 /opt/mailserver-admin/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(189): Symfony\Component\Console\Application->doRunCommand(Object(Analogic\LetsEncryptBundle\Command\RenewCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2016-02-04 06:25:07] LEScript.ERROR: #6 /opt/mailserver-admin/src/Analogic/MailserverBundle/CommandInternal/Application.php(66): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2016-02-04 06:25:07] LEScript.ERROR: #7 /opt/mailserver-admin/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(120): Analogic\MailserverBundle\CommandInternal\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
[2016-02-04 06:25:07] LEScript.ERROR: #8 /opt/mailserver-admin/bin/mailserver(38): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
[2016-02-04 06:25:07] LEScript.ERROR: #9 {main}

Comments (3)

  1. Jan Hellwig

    I had the same issue even after updating to 20160204. Pretty much the same setup as Marty; custom certificates and never clicked the Let's Encypt button in the admin interface. Log file is identical to his (except with today's timestamps).

  2. Log in to comment