Unable to update ssl (.err files)

Discussion in 'General' started by mcevoli78, Dec 9, 2020.

Tags:
  1. mcevoli78

    mcevoli78 New Member

    Hi,
    today I tried to update the ssl cerficiates in Ispconfig.
    I saved and from ISPconfig I see the new one.
    But then I checked and the system created .err files (cerificate, key, bundle) (under website ssl folder) instead updating the existing ones.

    Thanks,
    Marco.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Hi Marco,
    Take a look at your ISPConfig log, there might be useful information there.
     
  3. mcevoli78

    mcevoli78 New Member

    I can't find the error log.

    In this path is empty:
    /var/log/ispconfig/ispconfig.log
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. mcevoli78

    mcevoli78 New Member

    Ok I debugged.

    When saving the new ssl certificate (cert, key and bundle), ispconfig restarts apache.
    It fails and reverts to old file.
    It's the first time it happens with ssl cerficates.
    I will try to understand what's wrong.

    Thanks!
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The error log can be found in the panel under Monitor -> System-log. It might tell you more.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    If you don't find an error in the apache logs, then the issue is most likely caused by the SSL cert itself, e.g. wrong key for the cert file, as this makes apache fail to start but apache will not log any meaningful error message in that case.
     
    ahrasis and mcevoli78 like this.
  8. mcevoli78

    mcevoli78 New Member

    Exactly.
    They passed me an old .key file and the new certificate.
    With the right key everything is working now.

    Thank you.
    Marco.
     
    ahrasis likes this.

Share This Page