Update wgd.sh

Added ca_certs support
This commit is contained in:
Donald Zou 2024-12-12 19:44:14 +08:00 committed by GitHub
parent 2da8bd9158
commit ba79b240f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -292,7 +292,7 @@ install_wgd(){
fi
if [ ! -f "ssl-tls.ini" ]
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"
else
printf "[WGDashboard] %s Found existing ssl-tls.ini\n" "$heavy_checkmark"