Poste.io PRO - LE certificate

Issue #257 closed
Scott MacDonald created an issue

With the current version of Poste.io PRO it appears unable to generate a Let's Encrypt certificate and produces the following error:

[2018-02-10 10:06:17] LEScript.INFO: Account already registered. Continuing.
[2018-02-10 10:06:17] LEScript.INFO: Starting certificate generation process for domains
[2018-02-10 10:06:17] LEScript.INFO: Requesting challenge for mail.XXXXXX.com
[2018-02-10 10:06:17] LEScript.INFO: Sending signed request to /acme/new-authz
[2018-02-10 10:06:18] LEScript.ERROR: HTTP Challenge for mail.XXXXXX.com is not available. Whole response: {"type":"urn:acme:error:unauthorized","detail":"No registration exists matching provided key","status":403}
[2018-02-10 10:06:18] LEScript.ERROR: #0 /opt/admin/src/Analogic/LetsEncryptBundle/Handler/LeHandler.php(55): Analogic\ACME\Lescript->signDomains(Array)
[2018-02-10 10:06:18] LEScript.ERROR: #1 /opt/admin/src/Analogic/LetsEncryptBundle/Controller/LeController.php(74): Analogic\LetsEncryptBundle\Handler\LeHandler->renew(true)
[2018-02-10 10:06:18] LEScript.ERROR: #2 [internal function]: Analogic\LetsEncryptBundle\Controller\LeController->issueAction(Object(Symfony\Component\HttpFoundation\Request))
[2018-02-10 10:06:18] LEScript.ERROR: #3 /opt/admin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(153): call_user_func_array(Array, Array)
[2018-02-10 10:06:18] LEScript.ERROR: #4 /opt/admin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
[2018-02-10 10:06:18] LEScript.ERROR: #5 /opt/admin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(171): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
[2018-02-10 10:06:18] LEScript.ERROR: #6 /opt/admin/web/app.php(22): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
[2018-02-10 10:06:18] LEScript.ERROR: #7 {main}

It would appear that Poste.io PRO is unable to secure a certificate from Let's Encrypt. I have previously used Poste.io (the public available version) and had no issues generating a certificate. Please advise.

Comments (6)

  1. SH repo owner
    • changed status to open

    Are you running older version of poste.io? You should run latest image - there was change which broke LE key registration. When you upgrading container you should delete old account keys because they fails to register to LE - just backup and delete /data/ssl/letsencrypt/... content, restart container and restart LE support, it should be enough...

  2. Scott MacDonald reporter

    Hi Stanislav..

    I was running Poste.io PRO -- the latest at the time was version 1.06 and I did note that the docker public version was 1.07 (undocumented on the Poste.io website) I was able to compare the two and did eventually identify that the Lescript.php file was different between the two images. I also stumbled across your github for Lescript.php and noted the conversation discussing the broken LE registration.

    I gather simply replacing the Lescript.php in the Poste.io PRO version would have corrected the issue. Has a version 1.07 for Poste.io PRO been made available then??

  3. SH repo owner

    Yes, there was a glitch which prevented registering accounts. If you still have problem with that, please remove ssl/letsencrypt/_account and try to issuse cert again through web.

    Also please update to latest version.

  4. Log in to comment