forked from p15670423/monkey
Merge pull request #275 from Dhayalanb/develop
Updated Create_certificate to key of length 2048
This commit is contained in:
commit
de2e0d88ba
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd /var/monkey/monkey_island
|
cd /var/monkey/monkey_island
|
||||||
openssl genrsa -out cc/server.key 1024
|
openssl genrsa -out cc/server.key 2048
|
||||||
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 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
|
openssl x509 -req -days 366 -in cc/server.csr -signkey cc/server.key -out cc/server.crt
|
||||||
|
|
Loading…
Reference in New Issue