• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. fmohammed
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 1
    • Controversial 0
    • Groups 0

    fmohammed

    @fmohammed

    1
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fmohammed Unfollow Follow

    Best posts made by fmohammed

    • RE: iPXE Boot issue: boot.php... Permission denied.

      @sebastian-roth Thanks, we gave that a go and now there is an error with the chainloading failing. So progress from denied.

      Researching the error on ipxe (3e11623b) the error seems to be based on the lack of a DNS server. Currently these custom certs don’t have the IP address of the fog server as part of the certificate SAN, so we’re going to see if a certificate with the SAN containing the IP and hostname resolves this error.

      posted in FOG Problems
      F
      fmohammed

    Latest posts made by fmohammed

    • RE: iPXE Boot issue: boot.php... Permission denied.

      @sebastian-roth Thanks, we gave that a go and now there is an error with the chainloading failing. So progress from denied.

      Researching the error on ipxe (3e11623b) the error seems to be based on the lack of a DNS server. Currently these custom certs don’t have the IP address of the fog server as part of the certificate SAN, so we’re going to see if a certificate with the SAN containing the IP and hostname resolves this error.

      posted in FOG Problems
      F
      fmohammed
    • RE: iPXE Boot issue: boot.php... Permission denied.

      @sebastian-roth here you go

      • openssl x509 -noout -fingerprint -md5 -in /opt/fog/snapins/ssl/CA/.fogCA.pem

      MD5Fingerprint=7A:C9:95:CF:19:D7:00:8C:D5:8F:77:B2:F2:D7:B8:4

      • openssl x509 -noout -fingerprint -md5 -in /var/www/html/fog/management/other/ca.cert.pem

      MD5Fingerprint=FF:05:F6:08:15:8D:8F:36:D1:CF:18:B1:28:83:B1:76

      • openssl x509 -noout -modulus -in /var/www/fog/management/other/ssl/srvpublic.crt | openssl md5

      (stdin)= 53f0d7c1e5003ae86e747066c87e8034

      • openssl rsa -noout -modulus -in /opt/fog/snapins/ssl/.srvprivate.key | openssl md5

      (stdin)= 53f0d7c1e5003ae86e747066c87e8034

      • openssl verify -verbose -CAfile /opt/fog/snapins/ssl/CA/.fogCA.pem /var/www/fog/management/other/ssl/srvpublic.crt

      The first line contains the org and the CN = <the FQDN of the machine>
      error 20 at 0 depth lookup: unable to get local issuer certificate
      error /var/www/fog/management/other/ssl/srvpublic.crt: verification failed

      posted in FOG Problems
      F
      fmohammed
    • RE: iPXE Boot issue: boot.php... Permission denied.

      @tom-elliott yes, we followed the steps to rebuild the ipxe binaries.

      I did run the commands you had suggested above, but before I executed them I checked the ownership permissions on the folders.

      The ipxe folder was fogproject:www-data. After executing your command the folder ownership was www-data:fogproject. but to no avail on my custom certs machine.

      I have a machine with a clean install (./install_fog -S -y), I confirmed that the ipxe folder ownership was fogproject:www-data there as well, and that works.

      On my separate machine with my custom certificates and recompiled PXE, one thought here is along with my custom certificates, do I need to include the custom roots and intermediates for the certificate in the recompile? As these custom certificates are generated off of public sector roots. Is it because these are not the standard commercial roots, the pxe client may not be able to connect?

      posted in FOG Problems
      F
      fmohammed
    • iPXE Boot issue: boot.php... Permission denied.

      I did not notice a resolution here: Re: iPXE Boot issue : boot.php permission denied

      PXE.png

      We are using:
      OS: Ubuntu 20.04
      Fog: 1.5.9
      This is using custom certs. If I run the installer with -S the self-signed certs work. If I use our custom certs then we get this permission denied error. We followed the steps outlined here: https://wiki.fogproject.org/HTTPS#Custom_CA_and_certificates.

      From the WebUI the custom certs are have been verified, in use.

      posted in FOG Problems
      F
      fmohammed