mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-10 05:04:15 +08:00
TUN-3708: Better info message about system root certpool on Windows
This commit is contained in:
@@ -81,7 +81,7 @@ func LoadOriginCA(originCAPoolFilename string, log *zerolog.Logger) (*x509.CertP
|
|||||||
|
|
||||||
// Windows users should be notified that they can use the flag
|
// Windows users should be notified that they can use the flag
|
||||||
if runtime.GOOS == "windows" && originCAPoolFilename == "" {
|
if runtime.GOOS == "windows" && originCAPoolFilename == "" {
|
||||||
log.Info().Msgf("cloudflared does not support loading the system root certificate pool on Windows. Please use the --%s to specify it", OriginCAPoolFlag)
|
log.Info().Msgf("cloudflared does not support loading the system root certificate pool on Windows. Please use --%s <PATH> to specify the path to the certificate pool", OriginCAPoolFlag)
|
||||||
}
|
}
|
||||||
|
|
||||||
return originCertPool, nil
|
return originCertPool, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user