-
Notifications
You must be signed in to change notification settings - Fork 312
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
Support host names in TLS certificates #948
Conversation
Codecov Report
@@ Coverage Diff @@
## master #948 +/- ##
==========================================
- Coverage 55.86% 52.07% -3.80%
==========================================
Files 263 263
Lines 19509 19513 +4
==========================================
- Hits 10899 10161 -738
- Misses 6882 7711 +829
+ Partials 1728 1641 -87
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/lgtm |
c36984d
to
998b012
Compare
This commit updates TLS certificate generator to detect if IP address or host name was used as host value. If host name is detected field `DNSNames` of x509 SAN extenstion is used instead of `IPAddresses`. * https://en.wikipedia.org/wiki/Subject_Alternative_Name * https://tools.ietf.org/html/rfc5280#section-4.2.1.6 This contributes towards fixing pingcap#337.
998b012
to
2006b2e
Compare
/merge |
Can merge label has been added. Git tree hash: acc0b47
|
What problem does this PR solve?
This PR updates TLS certificate generator to support issuing certificates for host names, not only IP addresses.
This contributes towards fixing #337.
What is changed and how it works?
If host name is detected field
DNSNames
of x509 SAN extenstion is used instead ofIPAddresses
.Check List
Tests
Integration tests that cover this functionality is available in #950.
Release notes: