Skip to content

Certbot integration Maltrail

Boris Perc edited this page May 31, 2024 · 2 revisions

Ubuntu/Debian Server using Apache:

sudo apt-get install certbot python3-certbot-apache -y

maltrail.conf enable SSL

USE_SSL true

Terminal command:

cd /opt/maltrail/misc

root@myserver:/opt/maltrail/misc#

root@myserver:/opt/maltrail/misc# cat /etc/letsencrypt/live/myserver.com/cert.pem > server.pem && cat /etc/letsencrypt/live/myserver.com/privkey.pem > server.pem && cat /etc/letsencrypt/live/myserver.com/cert.pem >> server.pem

root@myserver:/opt/maltrail/misc# systemctl restart maltrail-sensor.service && systemctl restart maltrail-server.service

Cron Jobs as Root or for Super User use sudo

cd /opt/maltrail/misc && sudo cat /etc/letsencrypt/live/myserver.com/cert.pem > server.pem && sudo cat /etc/letsencrypt/live/myserver.com/privkey.pem > server.pem && sudo cat /etc/letsencrypt/live/myserver.com/cert.pem >> server.pem

Dev. info:

MalTrail info

Contents


Clone this wiki locally