Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

generate-certificate: Add generate-certificate utility

Brendan Coles34dc0e7fbc78
diff --git a/generate-certificate b/generate-certificate
new file mode 100644
index 00000000..003816c9
--- /dev/null
+++ b/generate-certificate
@@ -0,0 +1,4 @@
+#!/bin/sh
+openssl req -new -newkey rsa:4096 -sha256 -x509 -days 365 -nodes -out spiderfoot.crt -keyout spiderfoot.key -subj "/CN=localhost"
+chmod 600 spiderfoot.crt
+chmod 600 spiderfoot.key