mirror of
https://github.com/donaldzou/WGDashboard
synced 2025-02-26 05:58:47 +00:00
Update wgd.sh
Added ca_certs support
This commit is contained in:
parent
2da8bd9158
commit
ba79b240f6
@ -292,7 +292,7 @@ install_wgd(){
|
|||||||
fi
|
fi
|
||||||
if [ ! -f "ssl-tls.ini" ]
|
if [ ! -f "ssl-tls.ini" ]
|
||||||
then
|
then
|
||||||
printf "[SSL/TLS]\ncertificate_path = \nprivate_key_path = \n" >> ssl-tls.ini
|
printf "[SSL/TLS]\ncertificate_path = \nprivate_key_path = \nca_certificate_path = \n" >> ssl-tls.ini
|
||||||
printf "[WGDashboard] %s Created ssl-tls.ini\n" "$heavy_checkmark"
|
printf "[WGDashboard] %s Created ssl-tls.ini\n" "$heavy_checkmark"
|
||||||
else
|
else
|
||||||
printf "[WGDashboard] %s Found existing ssl-tls.ini\n" "$heavy_checkmark"
|
printf "[WGDashboard] %s Found existing ssl-tls.ini\n" "$heavy_checkmark"
|
||||||
|
Loading…
Reference in New Issue
Block a user