Posts

Showing posts from April, 2019

Setup a Logstash server on Ubuntu

Pretty self explanatory and mainly for my own benefit, but easier to follow than the Elastic documentation.

How to setup certificates in Apache

Brief notes on setting up certificates in Apache. More a personal note than a blog post :) sudo mkdir /etc/apache2/ssl sudo mkdir /etc/apache2/ssl/private sudo chmod 755 /etc/apache2/ssl sudo chmod 710 /etc/apache2/ssl/private sudo chown -R root:root /etc/apache2/ssl/ sudo chown -R root:ssl-cert /etc/apache2/ssl/private/ Copy cert to /etc/apache2/ssl Copy key to /etc/apache2/ssl/private sudo chmod 644 /etc/apache2/ssl/*.crt sudo -s sudo chmod 640 /etc/apache2/ssl/private/*.key exit sudo a2enmod ssl Edit config files sudo nano /etc/apache/sites-available/000-default.conf DocumentRoot /var/www/html2 ServerName www.yourdomain.com SSLEngine on SSLCertificateFile /path/to/your_domain_name.crt SSLCertificateKeyFile /path/to/your_private.key SSLCertificateChainFile /path/to/DigiCertCA.crt sudo a2ensite 000-default apachectl configtest sudo systemctl restart apache2.service

Filebeat Windows MSI

Update: Elastic have finally started supplying an MSI although it's still in preview. Elastic don't provide an MSI for Filebeat which makes deploying via DSC, Puppet, etc a bit of a pain. To ease this, I created an MSI generator for it and here it is on Github. Enjoy! Filebeat MSI generator

Popular posts from this blog

Avoid Microsoft Intune if you use G-Suite and Android

DFS "Waiting for Initial Replication"

Setting Wallpaper for a Remote Desktop Session