ca fix
This commit is contained in:
parent
df3a557043
commit
7d06d12c82
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ openssl genrsa -out /root/ca.key 2048
|
|||
chmod 400 /root/ca.key
|
||||
mkdir -p /etc/ssl/certs/
|
||||
mkdir -p /etc/ssl/private/
|
||||
openssl req -x509 -new -nodes -key /root/ca.key -sha256 -days 1024 -out /etc/ssl/certs/ca.crt -subj '/C=CH/ST=Zurich/L=Zurich/O=InterstellarNet/OU=NONE/CN=INTERSTELLAR'
|
||||
openssl req -x509 -new -nodes -key /root/ca.key -sha256 -days 1024 -out /etc/ssl/certs/ca.crt -subj '/C=CH/ST=Zurich/L=Zurich/O=InterstellarNet/OU=NONE/CN=INTERSTELLAR' -extensions v3_ca
|
||||
cp /etc/ssl/certs/ca.crt /root
|
||||
cp /etc/ssl/certs/ca.crt /usr/local/share/ca-certificates/
|
||||
chown -R www-data:www-data /etc/ssl/private/
|
||||
|
|
Loading…
Reference in a new issue