SSL (HTTPS)
To enable SSL and access LogCraft over HTTPS, run the following command to generate a self-signed certificate:
bash
logcraft ssl generate
After generation, you can view the certificate details with:
bash
logcraft ssl view
Custom SSL certificate
To use your own SSL certificate, replace LOGCRAFT_HOME/etc/ssl/cert.pem
and LOGCRAFT_HOME/etc/ssl/key.pem
with the certificate and key from your CA/PKI infrastructure, then restart LogCraft.