fix: Bad cert of *.local.local is now fixed to correct. (#1798)

This commit is contained in:
J M
2022-09-12 16:27:46 -06:00
committed by GitHub
parent 36911d7ed6
commit 67743b37bb

View File

@@ -69,7 +69,7 @@ impl NginxControllerInner {
};
// write main ssl key/cert to fs location
let (key, cert) = ssl_manager
.certificate_for(&host_name.lan_address(), &"embassy".parse().unwrap())
.certificate_for(host_name.as_ref(), &"embassy".parse().unwrap())
.await?;
let ssl_path_key = nginx_root.join(format!("ssl/embassy_main.key.pem"));
let ssl_path_cert = nginx_root.join(format!("ssl/embassy_main.cert.pem"));