Problema https
-
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 …
-
@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.
-
@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.keyI 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. -
@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.