Skip to content
New issue

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

notifications.database.common_name should not be a required field #31

Open
ljfranklin opened this issue Nov 27, 2018 · 1 comment
Open

Comments

@ljfranklin
Copy link

When enabling TLS to the DB, we were surprised to find that notifications.database.common_name was a required property. Without it the errand fails with:

ERR panic: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config  

Our expectation was that the DB client would default the server name to the hostname contained within notifications.database.url. Turns out this behavior was fixed here which was from March 2017. However the notifications app is using the go-sql-driver library from way back in 2014...

With a dependency that old I'm guessing there are other bugs present other than just the common_name behavior. Could y'all bump the go-sql-driver dependency and consider bumping any other well out of date dependencies?

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

Benjamintf1 pushed a commit that referenced this issue Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants