Fix for issue #5 which was somehow left out of commit 50d2a42bbc. Also, updated certs to reflect crt everywhere - docs and other notes

pull/4/head
Ventz Petkov 2017-09-25 09:26:37 -04:00
parent 40ff7c71ef
commit 59f63b7d6c
2 changed files with 3 additions and 2 deletions

View File

@ -83,7 +83,7 @@ docker run -it -d \
And in your ```/certs``` dir, create private/public certs with file names:
* misp.key
* misp.cert
* misp.crt
# Security note in regards to key generation:
We have added "rng-tools" in order to help with entropy generation,

View File

@ -13,7 +13,7 @@ VOLUME /var/lib/mysql
#VOLUME /var/www/MISP/Config
# Dir you might want to override in order to have custom ssl certs
# Need: "misp.key" and "misp.cert"
# Need: "misp.key" and "misp.crt"
#VOLUME /etc/ssl/private
ENV DEBIAN_FRONTEND noninteractive
@ -94,6 +94,7 @@ RUN mkdir /var/www/.composer && chown -R www-data:www-data /var/www/.composer ;
echo "DocumentRoot /var/www/MISP/app/webroot" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "<Directory /var/www/MISP/app/webroot>" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "Options -Indexes" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "AllowOverride all" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "Require all granted" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "</Directory>" >> /etc/apache2/sites-available/default-ssl.conf ; \
echo "SSLEngine On" >> /etc/apache2/sites-available/default-ssl.conf ; \