ERROR obtain Letsencrypt certificate

Issue #261 resolved
bzero created an issue

Hi everyone,

I did fresh install Poste free version, and enable LE for my domains, however getting following error showing under API log, Could you please show me how to fix?

Thanks a lot.

#![2018-02-14 20:44:18] LEScript.INFO: Starting new account registration
[2018-02-14 20:44:19] LEScript.INFO: Getting last terms of service URL
[2018-02-14 20:44:19] LEScript.INFO: Sending registration to letsencrypt server
[2018-02-14 20:44:19] LEScript.ERROR: error:0E06D06C:configuration file routines:NCONF_get_string:no value
[2018-02-14 20:44:19] LEScript.ERROR: #0 /opt/admin/vendor/analogic/lescript/Lescript.php(352): Analogic\ACME\Lescript->readPrivateKey('/data/ssl/letse...')
[2018-02-14 20:44:19] LEScript.ERROR: #1 /opt/admin/vendor/analogic/lescript/Lescript.php(267): Analogic\ACME\Lescript->signedRequest('/acme/new-reg', Array)
[2018-02-14 20:44:19] LEScript.ERROR: #2 /opt/admin/vendor/analogic/lescript/Lescript.php(41): Analogic\ACME\Lescript->postNewReg()
[2018-02-14 20:44:19] LEScript.ERROR: #3 /opt/admin/src/Analogic/LetsEncryptBundle/Handler/LeHandler.php(54): Analogic\ACME\Lescript->initAccount()
[2018-02-14 20:44:19] LEScript.ERROR: #4 /opt/admin/src/Analogic/LetsEncryptBundle/Controller/LeController.php(74): Analogic\LetsEncryptBundle\Handler\LeHandler->renew(true)
[2018-02-14 20:44:19] LEScript.ERROR: #5 [internal function]: Analogic\LetsEncryptBundle\Controller\LeController->issueAction(Object(Symfony\Component\HttpFoundation\Request))
[2018-02-14 20:44:19] LEScript.ERROR: #6 /opt/admin/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(153): call_user_func_array(Array, Array)
[2018-02-14 20:44:19] LEScript.ERROR: #7 /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-14 20:44:19] LEScript.ERROR: #8 /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-14 20:44:19] LEScript.ERROR: #9 /opt/admin/web/app.php(22): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
[2018-02-14 20:44:19] LEScript.ERROR: #10 {main}

Comments (2)

  1. bzero reporter

    an workaround for this issue,

    chmod 777 /data/ssl/letsencrypt

    chown www-data:www-data /data/ssl/letsencrypt

    And re-run the LE, without error, not sure if this is safe to do that way, please input your advice.

    Thanks a lot.

    #![2018-02-15 09:50:54] LEScript.INFO: Verification ended with status: valid
    [2018-02-15 09:50:55] LEScript.INFO: Sending signed request to /acme/new-cert
    [2018-02-15 09:50:56] LEScript.INFO: Got certificate! YAY!
    [2018-02-15 09:50:56] LEScript.INFO: Requesting chained cert at https://acme-v01.api.letsencrypt.org/acme/issuer-cert
    [2018-02-15 09:50:56] LEScript.INFO: Saving fullchain.pem
    [2018-02-15 09:50:56] LEScript.INFO: Saving cert.pem
    [2018-02-15 09:50:56] LEScript.INFO: Saving chain.pem
    [2018-02-15 09:50:56] LEScript.INFO: Done !!§§!
    
  2. SH repo owner

    I am closing this, can't replicate. Rights to letsencrypt directory is set at startup with all rights to mail:mail. Please reopen or create new issue if you are seeing this error.

  3. Log in to comment