GC-4552: pre remove file added

This commit is contained in:
urihershgc 2015-12-07 17:25:05 +02:00
parent 1c1e49ef14
commit eee37b5084
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
service monkey-island stop || true
service monkey-mongo stop || true
rm -f /etc/init/monkey-island.conf
rm -f /etc/init/monkey-mongo.conf

View File

@ -2,5 +2,5 @@
cd /var/monkey_island
openssl genrsa -out cc/server.key 1024
openssl req -new -key cc/server.key -out cc/server.csr -subj "/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/CN=example.com"
openssl req -new -key cc/server.key -out cc/server.csr -subj "/C=GB/ST=London/L=London/O=Global Security/OU=Monkey Department/CN=monkey.com"
openssl x509 -req -days 366 -in cc/server.csr -signkey cc/server.key -out cc/server.crt