Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LetsEncrypt Certs signed by R3 Intermediate cert not Trusted by Sophos XG after reinstalling CA certs.

Hi,

I recently went through and updated some of my older LetsEncrypt certs and when I imported them they were showing up as Untrusted. The rest I had were still trusted. Unsure as to why, I removed the LetsEncrypt R3 Intermediate and the ISRG Root X1 Certs and re-installed the ones from the LetsEncrypt website, in theory completing the trust chain.

Unfortunately even with these certs installed, Sophos XG still doesn't trust those certs for use as Service certs, and now doesn't trust the original LetsEncrypt certs I had installed. Anyone seen this behaviour before? 

I am running the latest XG build (SFOS 18.5.1 MR-1-Build326), and have rebooted the firewall as a test to see if it recovered. No success.

Thanks.



This thread was automatically locked due to age.
Parents Reply Children
  • I see the R3 certificate uploaded  to your certificates area. Did you actually upload it to the Certificate authorities section?
    Same goes for aother certificates in the trust chain (X1 etc.).

    If so delete it as regular certificate... 

     
    SFVH (SFOS 19.5.1 MR-1-Build278)  - Last (re)boot on Februari 20 2023
    Asus H410i-plus - Pentium 6605 Gold - 250GB M.2 PCIe NVMe SSD - 8GB - 3 ports
    [If any of my posts are helpful to you please use the 'Verify Answer' link]
  • Sorry i used a confused name, i tried testing to create a pfx12 with my certificate en private with R3 as chain and called it R3.

    Below some test screenshot with X1 en R3 in my Certificate Authorities section

    This is with auto imported Certificate Authorities from PFX12 file.

    here i removed the auto imported certificate and manualy uploaded the r3, X1 and X1 cross CA certificate.

    I also removed all my Certifciates which i used for testing so there are not any confusing names.

  • I have only uploaded the R3 and the ISRG Root X1 tot my XG / Certificate authorities.
    All my LE (5) certificates are trusted.

     
    SFVH (SFOS 19.5.1 MR-1-Build278)  - Last (re)boot on Februari 20 2023
    Asus H410i-plus - Pentium 6605 Gold - 250GB M.2 PCIe NVMe SSD - 8GB - 3 ports
    [If any of my posts are helpful to you please use the 'Verify Answer' link]
  • Lets hope that sophos will bring a fix. I see more people with this new issue but nobody with a solution yet. a couple month ago this came because the expired X3 certificate but this seems to be a new one.

  • I had the same problem and it seems to be connected if the pfx file contains the full chain or only the cert itself.
    When the pfx contains the full chain (ISRG Root X1 and R3) the chain is uploaded to the "Certificate authorities" as well and the Cert is shown as not valid.
    Uploading the R3 certificate from the Lets Encrypt Website to the Authorities (ISRG Root X1 is already buildin) and uploading the pfx containing only the cert itself without chain result in a valid certificate.

    I don't know where the bug is located but i presume something is going wrong with the pfx chain import.

  • I cannot reproduce your workaround. Even though I followed all steps it is still showing my certificate not being trusted.

    Even worse, I got a second firewall where the problem does not occur at all. All certificates are valid and trusted.

  • Make 3 month ago a new install of the XG because untrusted Certificate, with blank installation certificate are trust, when i upload a backup it overwrites certificate space and trusted Certificate are lost, make new config without backup from scratch....

    3 month later trusted certifcate will expire in one week. I renew the certificate with certboot load the certificate up and here we go "untrust"...!

    let's Encrypt/CN=R3 installed

    ISRG Root X1/CN=X1 installed

    Does that mean for me I have to configure firewall from scratch every 3 months?



  • https://community.sophos.com/sophos-xg-firewall/f/discussions/131060/letsencrypt-certificate-not-trusted-by-spohos-xg-firewall/490379#490379

    Okay, I finally figured out the workaround by Geoff Anderson.

    First: Delete all previously uploaded Let's Encrypt certificates. The problem is related to the certificate name, which doesn't matter as long as you choose a name, you didn't use before. And it's important to upload BOTH certificates, the X1 and the R3 one.

    https://letsencrypt.org/certs/isrgrootx1.der
    https://letsencrypt.org/certs/lets-encrypt-r3.der

    Name them LEX1 and LER3 and you will see, all your certificates will appear as trusted again.

    And it also solved the problem for LuCar Toni in post #2, because he also uploaded the certificate using a different name.

Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?