mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-21 02:46:18 +00:00
Update wgd.sh
Added ca_certs support
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user