ca
This commit is contained in:
parent
aa1c0efe31
commit
93d3fb894c
1 changed files with 6 additions and 0 deletions
6
installation/ca.sh
Normal file
6
installation/ca.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue