Merge lp:~gz/juju-core/1.16_ssl_verification_bootstrap_state_1268913 into lp:juju-core/1.16
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Martin Packman |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2002 |
Proposed branch: | lp:~gz/juju-core/1.16_ssl_verification_bootstrap_state_1268913 |
Merge into: | lp:juju-core/1.16 |
Diff against target: |
183 lines (+63/-16) 5 files modified
cmd/jujud/bootstrap.go (+1/-1) environs/httpstorage/storage.go (+4/-1) provider/common/bootstrap_test.go (+1/-1) provider/common/state.go (+11/-2) provider/common/state_test.go (+46/-11) |
To merge this branch: | bzr merge lp:~gz/juju-core/1.16_ssl_verification_bootstrap_state_1268913 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+203037@code.launchpad.net |
Commit message
Obey ssl-hostname-
When reading the provider-state file from cloud storage on
bootstrap, skip validating the https cert if the config
ssl-hostname-
https:/
R=axwalk
Description of the change
Obey ssl-hostname-
When reading the provider-state file from cloud storage on
bootstrap, skip validating the https cert if the config
ssl-hostname-
Change simplified to not test the valid cert case, avoiding
the need for a usable testing https server.
To post a comment you must log in.
Reviewers: mp+203037_ code.launchpad. net,
Message:
Please take a look.
Description: verification for provider-state
Obey ssl-hostname-
When reading the provider-state file from cloud storage on verification is set to false.
bootstrap, skip validating the https cert if the config
ssl-hostname-
In order to reuse the existing testing infrastructure for
localStorage, I had to add a new PromotableStorage
interface which does the (overly magic) lookup of the
https endpoint via http head and uses it for *all*
requests, not just the modification ones.
On trunk, I don't see why ClientTLS shouldn't be switched
to just use https all the time.
https:/ /code.launchpad .net/~gz/ juju-core/ 1.16_ssl_ verification_ bootstrap_ state_1268913/ +merge/ 203037
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/56560043/
Affected files (+169, -53 lines): bootstrap. go httpstorage/ backend_ test.go httpstorage/ storage. go testing/ storage. go common/ bootstrap_ test.go common/ state.go common/ state_test. go
A [revision details]
M cmd/jujud/
M environs/
M environs/
M environs/
M provider/
M provider/
M provider/