GC-4552: pre remove file added
This commit is contained in:
parent
1c1e49ef14
commit
eee37b5084
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue