fix: hy2/tuic inbound cert isn't path

Co-authored-by: wwqgtxx <wwqgtxx@gmail.com>
This commit is contained in:
Larvan2
2023-10-01 12:04:34 +08:00
parent 8253bfe2e0
commit dbaee284e4
4 changed files with 10 additions and 10 deletions

View File

@ -112,7 +112,7 @@ func Start(addr string, tlsAddr string, secret string,
if len(tlsAddr) > 0 {
go func() {
c, err := CN.ParseCert(certificat, privateKey)
c, err := CN.ParseCert(certificat, privateKey, C.Path)
if err != nil {
log.Errorln("External controller tls listen error: %s", err)
return