diff --git a/installation/ca.sh b/installation/ca.sh new file mode 100644 index 0000000..1b4ba2e --- /dev/null +++ b/installation/ca.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +sudo openssl genrsa -out /root/ca.key 4096 +sudo openssl req -x509 -new -nodes -key /root/ca.key -sha256 -days 1024 -out /root/ca.crt -subj "/C=CH/ST=Zurich/L=Zurich/O=InterstellarNet/CN=INTERSTELLAR" +sudo cp ca.crt /usr/local/share/ca-certificates/ +sudo update-ca-certificates