Skip to content
This repository was archived by the owner on Jul 28, 2020. It is now read-only.

Fix router's TLS validation config#116

Closed
nota-ja wants to merge 1 commit intovmware-archive:masterfrom
nota-ja:fix-gorouter-tls-configuration
Closed

Fix router's TLS validation config#116
nota-ja wants to merge 1 commit intovmware-archive:masterfrom
nota-ja:fix-gorouter-tls-configuration

Conversation

@nota-ja
Copy link

@nota-ja nota-ja commented Aug 1, 2016

Gorouter uses skip_ssl_validation, not ssl_skip_validation.

As far as I know, this bug makes a CF app not working as a route service on the pcfdev environment.

@aemengo
Copy link
Contributor

aemengo commented Aug 2, 2016

Thanks for the pointer. However, the version of cf-release bundled with PCF Dev is currently v235 and this version has a gorouter property called ssl_skip_validation, viewable here: https://github.com/cloudfoundry/cf-release/blob/v235/jobs/gorouter/spec#L62-L64

The latest version of cf-release v239 currently has the same property set as well: https://github.com/cloudfoundry-incubator/routing-release/blob/6da24d260eb1a8482845c3a77ee5ab4320e35eb8/jobs/gorouter/spec#L64-L66

We'll be sure to watch this property to see if this rename occurs.

But for now (v239), it looks like this property gets renamed when the router configuration template is rendered before deployment: https://github.com/cloudfoundry-incubator/routing-release/blob/6da24d260eb1a8482845c3a77ee5ab4320e35eb8/jobs/gorouter/templates/gorouter.yml.erb#L47
https://github.com/cloudfoundry-incubator/routing-release/blob/6da24d260eb1a8482845c3a77ee5ab4320e35eb8/jobs/gorouter/templates/gorouter.yml.erb#L65

@aemengo aemengo closed this Aug 2, 2016
@nota-ja
Copy link
Author

nota-ja commented Aug 2, 2016

Oh, I see.
So there should be another reason why my pcfdev's gorouter is misconfigured. Or I might be trapped in a versioning gap.
Anyway, thank you for taking time to explain, @aemengo.

@aemengo
Copy link
Contributor

aemengo commented Aug 2, 2016

No problem! Please feel free to submit a github issue with the symptoms that you're seeing and the steps to reproduce, so that we can help you out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants