• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Problema https

Scheduled Pinned Locked Moved
General
2
4
226
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    tenorio.leandro
    last edited by tenorio.leandro Feb 9, 2022, 1:39 PM Feb 9, 2022, 7:38 PM

    Hello,

    I installed the Fog Project as HTTPS, but when I configure my certificates show me a error in boot’s computer. When I put again the certificate that was, the application function.

    I configure my certificate in sites-available … in file fog001

    mensagem " no such file or directory …

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Feb 9, 2022, 2:55 PM Feb 9, 2022, 8:54 PM

      @tenorio-leandro When using a custom certificate you need to re-compile iPXE (the sofware showing the error message) to include that certificate: https://docs.fogproject.org/en/latest/reference/compile_ipxe_binaries.html#build-script

      In your case you need to call the build script with the CA (!) certificate file name as parameter: ./buildipxe.sh /path/to/ca.cert.pem

      Do you plan to use the fog-client software as well? This would add some more complexity to the certificate story if you want to use a custom one.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      T 1 Reply Last reply Feb 10, 2022, 1:06 PM Reply Quote 0
      • T
        tenorio.leandro @Sebastian Roth
        last edited by Feb 10, 2022, 1:06 PM

        @sebastian-roth Fist of all, thanks a lot for answer and help.

        Maybe I dont explain correctly, I am sorry.
        But I want change these certificate :
        SSLCertificateFile /var/www/fog//management/other/ssl/srvpublic.crt
        SSLCertificateKeyFile /opt/fog/snapins/ssl//.srvprivate.key

        I want put my certificate in virtual host, but when the boot via pxe stop.

        This is process that you sent me, is for this? Or Do I explain incorret?
        Because this certificate .pem I dont want change in this moment.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Feb 10, 2022, 6:29 PM

          @tenorio-leandro said in Problema https:

          But I want change these certificate :
          SSLCertificateFile /var/www/fog//management/other/ssl/srvpublic.crt
          SSLCertificateKeyFile /opt/fog/snapins/ssl//.srvprivate.key
          I want put my certificate in virtual host, but when the boot via pxe stop.
          Because this certificate .pem I dont want change in this moment.

          Well, if you swap out this certificate and key with your custom files then PXE boot won’t work anymore because iPXE does not know your CA (certificate authority). If you want to fix PXE booting you need to compile fresh iPXE binaries that have your custom CA included.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post

          153

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project