-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace endpoint.ParseHostPort with net.SplitHostPort to fix IPv6 cli…
…ent endpoints
- Loading branch information
Showing
5 changed files
with
80 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"key": { | ||
"algo": "rsa", | ||
"size": 2048 | ||
}, | ||
"names": [ | ||
{ | ||
"O": "etcd", | ||
"OU": "etcd Security", | ||
"L": "San Francisco", | ||
"ST": "California", | ||
"C": "USA" | ||
} | ||
], | ||
"CN": "example.com", | ||
"hosts": [ | ||
"127.0.0.1" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIECDCCAvCgAwIBAgIUVidA2BA1FGpvYIR8qVAXSmjEMsswDQYJKoZIhvcNAQEL | ||
BQAwbzEMMAoGA1UEBhMDVVNBMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH | ||
Ew1TYW4gRnJhbmNpc2NvMQ0wCwYDVQQKEwRldGNkMRYwFAYDVQQLEw1ldGNkIFNl | ||
Y3VyaXR5MQswCQYDVQQDEwJjYTAeFw0xOTEwMDgxOTQ3MDBaFw0yOTEwMDUxOTQ3 | ||
MDBaMH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BCSTwJ2w8Co | ||
r3z/Lze0u4Ny/0C9AiOnKYlhcL0FacfxC41+a2SlxOc+0giGJMria5dHiWFkLFvg | ||
hJ+SvGg2RVcdosh/+CiSHjqtGqFRZMdn/m+QVA== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEpgIBAAKCAQEA6P1GeIv5/e4iyXJNAq8p2lKZigmoFdtWLGM3xV7wP+24gZxe | ||
2MxG2ZF7/mI08KPIbhxptFxVLNFs0uzqCCu59UD3z57W/twKFaQ9mprBLf/VWD+T | ||
uNsXzfgvtzKkQQCngLkc8BTg7iYuKmLLyWrAZH3e/P0CJ9mHh6Mn4RjtMInJqA1n | ||
gcDTZBKsXVrFY0QIOYN54wa2mzyUW4b5a4vUu/9XBGuSXctT0cP36FLQwGw5eNmZ | ||
vcwzo/9R7uaVCaIILF8nDrcvsVfR8BBwgUWR8WYAYDRJcmeQIWeWh3PLZ6SFR3i0 | ||
5a2mFcVVkrz4FV6GRDu318RUyJST2XRYmN/Y7wIDAQABAoIBAQC2dgNGTHjPADuF | ||
/1mIDJ1+OMm9bKqR01+9C0aV7y+/IPApsMgmiHPD10d/hHFpMxq4ANBXSyf5HVlY | ||
Jelx1KyhAOwRUJeWp8POBv2noiI/X+c4YTHSxuHxj7fuhF5V+ak0CcQ70F4Goyfs | ||
Ucq+Rje9e0WyYoHZq2WUN5X3lonKQ99ZPfWiyMGjxHWiHCsydC4OVqvJWxpAJ0OX | ||
8DRQtGfpfu4V54i1kIb5E8BoEHl5wcGvbr4+bPIR3YYJrr8soNiNiwscpBZeK+yH | ||
Mbjqbk77tyyDF9Qrdxz10dI1JFeCrQmvgTC83mYIGdjTJ/u1d6iVh23TH+QGBQIK | ||
H5n+djxBAoG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