forked from p34709852/monkey
7 lines
300 B
Bash
7 lines
300 B
Bash
#!/bin/bash
|
|
|
|
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 x509 -req -days 366 -in cc/server.csr -signkey cc/server.key -out cc/server.crt
|