Skip to content

Instantly share code, notes, and snippets.

@pe3zx
Last active January 20, 2019 07:49
Show Gist options
  • Save pe3zx/45a29818ec6a630474f7a89d770bbbd3 to your computer and use it in GitHub Desktop.
Save pe3zx/45a29818ec6a630474f7a89d770bbbd3 to your computer and use it in GitHub Desktop.
Apache2 configuration to enable SSL/TLS support on MISP
<VirtualHost *:443>
ServerName misp.local
DocumentRoot /var/www/MISP/app/webroot
<Directory /var/www/MISP/app/webroot>
Options -Indexes
AllowOverride all
Order allow,deny
allow from all
</Directory>
SSLEngine on
SSLCertificateFile /etc/ssl/private/misp.crt
SSLCertificateKeyFile /etc/ssl/private/misp.key
LogLevel warn
ErrorLog /var/log/apache2/misp.local_error.log
CustomLog /var/log/apache2/misp.local_access.log combined
ServerSignature Off
Header set X-Content-Type-Options nosniff
Header set X-Frame-Options DENY
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment