Categories

  • 13k Topics
    115k Posts
    K

    @Tom-Elliott
    Hi
    I don’t know enough about certificates. I tried to use ChatGPT to implement your answer—and this is what came out:

    This is important The original instructions you received essentially say: “Your server is using a certificate that was not issued by FOG.” That doesn’t match your current configuration. Your current web certificate was clearly issued by the FOG Web CA. Therefore, I wouldn’t create a symlink to any `fullchain.pem` file right now. We also have no indication so far that you’re using an external ACME certificate at all. What’s likely happening I suspect that the message you’re getting during the upgrade is related to the FOG PKI or the internal trust chain, and not to the fact that you’re using a Let’s Encrypt certificate. It’s interesting to note that your current Apache configuration uses: SSLCertificateFile /opt/fog/pki/web/leaf/.webLeaf.pem SSLCertificateKeyFile /opt/fog/pki/web/leaf/.webLeaf.key . The older configuration also included: SSLCertificateChainFile /opt/fog/snapins/ssl/CA/.fogCA.pem The current configuration does not have an SSLCertificateChainFile line. That might be relevant.

    That’s where I stopped…

  • Get the latest news on what's happening.
    184 Topics
    825 Posts
    A

    @Tom-Elliott I really appreciate that you are putting effort into providing more frequent releases, which makes it easier for everyone to deploy new security fixes in time. Keep up the good work!

  • View tutorials or talk about FOG in general.
    2k Topics
    19k Posts
    R

    Now I read the AI summary and got what I need:

    It stores one row for each address in the hostNetwork table. Limits of this method The sleeping host must run fog-agent. The server uses the sleeping host’s own last report to find its subnet. A host with the legacy FOG Client, or with no client, has no rows, so the relay cannot help it. The old path still runs for it.

    So If I populate the hostNetwork table for the hosts that I need manually, It will work. Thank you for the details.

  • Report bugs, request features, or get the latest progress.
    2k Topics
    21k Posts
    S

    Hi all, @Tom-Elliott @Sebastian-Roth

    I found a bug in the Windows product key validation introduced in the Channel Beta | Version 1.6.0-beta.5384.

    Issue:
    A legitimate corporate Windows 11 Enterprise volume-license product key (containing the letter N) was rejected on the Host Management “General” tab with the error “Invalid Windows product key” (HTTP 400). The same key was accepted without issue on older FOG versions (pre-1.6.0-beta strict validation).

    Root cause:
    File: src/Base/FOGBase.php, function productKeyIsValid() (around line 2758)

    public static function productKeyIsValid($val) { return (bool)preg_match( '/^[BCDFGHJKMPQRTVWXY2346789]{25}$/', self::productKeyStrip($val) ); }

    The allowed character class BCDFGHJKMPQRTVWXY2346789 is missing the letter N, which IS a valid character in the official Windows product key alphabet.

    Evidence N is valid:
    Many official Microsoft KMS Client Setup Keys contain N, e.g.:

    Windows 10/11 Pro: W269N-WFGWX-YVC9B-4J6C9-T83GX Windows 10/11 Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43 Windows 10/11 Pro N: MH37W-N47XK-V7XM9-C7227-GCQG9

    Source: https://learn.microsoft.com/en-us/windows-server/get-started/kmsclientkeys

    Steps to reproduce:

    Host Management → edit a host → General tab Enter a valid Windows Enterprise/volume product key containing the letter N Click Update FOG rejects it as “Invalid Windows product key”

    Suggested fix:
    Add N to the character class:
    ‘/^[BCDFGHJKMNPQRTVWXY2346789]{25}$/’

    Workaround applied locally (via sed) while waiting for an official fix:

    sudo sed -i “s/[BCDFGHJKMPQRTVWXY2346789]/[BCDFGHJKMNPQRTVWXY2346789]/” /var/www/fog/src/Base/FOGBase.php

    Confirmed working after this change.

    Environment:

    FOG Version: 1.6.0-beta.5384 (Channel Beta, branch working-1.6) OS: Ubuntu 26.04.1 LTS “Resolute”

    Thanks!

61

Online

12.8k

Users

17.6k

Topics

157.1k

Posts