1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Issue Error after Letsencypt certificate update

Discussion in 'Plesk Extensions' started by onki, Dec 3, 2017.

  1. onki

    onki Basic Pleskian

    9
    20%
    Joined:
    Aug 25, 2015
    Messages:
    44
    Likes Received:
    1
    Hi,

    I got a webserver error by mail and all my websites were down:


    Unable to generate the web server configuration file on the host <myserver.net> because of the following errors:

    Template_Exception: AH00526: Syntax error on line 109 of /etc/apache2/plesk.conf.d/server.conf:

    SSLCertificateFile: file '/opt/psa/var/certificates/cert-QmL4bE' does not exist or is empty

    file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php

    line: 75

    code: 0


    Please resolve the errors in web server configuration templates and generate the file again.

    At the same time I got the info that a Letsencrypt certificate was renewed. After clicking on rebuild all configuration files it all worked again. Is there something I can do to prevent that problem?

    Best regards
    Onki
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  3. onki

    onki Basic Pleskian

    9
    20%
    Joined:
    Aug 25, 2015
    Messages:
    44
    Likes Received:
    1
    OK - this seems to be identical with my problem.
    We'll see if this will be fixed in the next update.

    Best regards
    Onki
     
  4. Peter Debik

    Peter Debik Golden Pleskian Plesk Guru

    37
    80%
    Joined:
    Oct 15, 2015
    Messages:
    1,986
    Likes Received:
    404
    Location:
    Berlin, Germany
    No. It is a timing issue / race condition. Certain operations are sometimes performed before others, so that unfortunately it is still possible that the certificate filename entry in the web server configuration is pointing to a non-existing certificate.
     
Loading...