We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// Only grab certificate if on a loopback device if difftool.specifiedRef.IsHttps() && isURLLoopBack(options.sourceUrl) { cert, err := utils.GetCertificate(difftool.utils, options.sourceUrl, options.sourceUsername, options.sourcePassword, xdcrBase.HttpAuthMechPlain) if err != nil { return err } internalHttpsHostname, _, err := difftool.utils.HttpsRemoteHostAddr(options.sourceUrl, nil) if err != nil { return fmt.Errorf("unable to get httpsRemoteHostAddr: %v", err) } difftool.selfRef.Certificate_ = cert refHttpAuthMech, defaultPoolInfo, _, err := difftool.utils.GetSecuritySettingsAndDefaultPoolInfo(options.sourceUrl, internalHttpsHostname, difftool.selfRef.UserName(), difftool.selfRef.Password(), difftool.selfRef.Certificates(), difftool.selfRef.ClientCertificate(), difftool.selfRef.ClientKey(), difftool.selfRef.IsHalfEncryption(), difftool.logger)
This logic is incorrect as it is possible the source cluster's cert is invalid for loopback address.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This logic is incorrect as it is possible the source cluster's cert is invalid for loopback address.
The text was updated successfully, but these errors were encountered: