Manual provisioning via WinRM skips certification checks by default
Bug #1883209 reported by
Tim McNamara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
We currently skip certificate validation if there's an error during WinRM provisioning. Instead, we should abort and allow the user to fix the underlying problem. We could also add an --insecure flag to enable people to opt-in to this behaviour.
From add.go
caCert := cert.CACert()
if caCert == nil {
logger.
cfg.Insecure = true
} else {
cfg.CACert = caCert
}
To post a comment you must log in.
This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.