-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Revolution1/fix/tls
add ssl support
- Loading branch information
Showing
26 changed files
with
385 additions
and
74 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
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
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,27 @@ | ||
{ | ||
"signing": { | ||
"default": { | ||
"expiry": "168h" | ||
}, | ||
"profiles": { | ||
"server": { | ||
"expiry": "87600h", | ||
"usages": [ | ||
"signing", | ||
"key encipherment", | ||
"server auth", | ||
"client auth" | ||
] | ||
}, | ||
"client": { | ||
"expiry": "87600h", | ||
"usages": [ | ||
"signing", | ||
"key encipherment", | ||
"client auth", | ||
"client auth" | ||
] | ||
} | ||
} | ||
} | ||
} |
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,14 @@ | ||
{ | ||
"CN": "etcd3-py-test", | ||
"key": { | ||
"algo": "ecdsa", | ||
"size": 256 | ||
}, | ||
"names": [ | ||
{ | ||
"C": "US", | ||
"ST": "CA", | ||
"L": "San Francisco" | ||
} | ||
] | ||
} |
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,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEINxvluG24yYuCbjVc3h8y8hObhDf0HsR7OB1OPaO03lOoAoGCCqGSM49 | ||
AwEHoUQDQgAE+R44Lr0jJoA4CXTWAl4M+Id8cSFw9Fl2SKkDInoumJcekqKXHv5Z | ||
Kl93DzHzNLN4vw54ZMMZ+lbO0/JRkmZNUA== | ||
-----END EC PRIVATE KEY----- |
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,8 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIIBBjCBrAIBADBKMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcT | ||
DVNhbiBGcmFuY2lzY28xFjAUBgNVBAMTDWV0Y2QzLXB5LXRlc3QwWTATBgcqhkjO | ||
PQIBBggqhkjOPQMBBwNCAAT5HjguvSMmgDgJdNYCXgz4h3xxIXD0WXZIqQMiei6Y | ||
lx6Sopce/lkqX3cPMfM0s3i/Dnhkwxn6Vs7T8lGSZk1QoAAwCgYIKoZIzj0EAwID | ||
SQAwRgIhAJnz4iWOi69pSTd/ebKwq5CYOlaUMiD5pbd1Bl+M6hm9AiEAqJOD2nTF | ||
/+OSZ1J4B7gdXh3rolTyHGxatmdAR7hfwqk= | ||
-----END CERTIFICATE REQUEST----- |
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,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB2DCCAX6gAwIBAgIUf6IKrGmwVXKfoDKLynTSa00PoLMwCgYIKoZIzj0EAwIw | ||
SjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1TYW4gRnJhbmNp | ||
c2NvMRYwFAYDVQQDEw1ldGNkMy1weS10ZXN0MB4XDTE4MDMyNjEwMjgwMFoXDTIz | ||
MDMyNTEwMjgwMFowSjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQH | ||
Ew1TYW4gRnJhbmNpc2NvMRYwFAYDVQQDEw1ldGNkMy1weS10ZXN0MFkwEwYHKoZI | ||
zj0CAQYIKoZIzj0DAQcDQgAE+R44Lr0jJoA4CXTWAl4M+Id8cSFw9Fl2SKkDInou | ||
mJcekqKXHv5ZKl93DzHzNLN4vw54ZMMZ+lbO0/JRkmZNUKNCMEAwDgYDVR0PAQH/ | ||
BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFN3xuRO9hnv8JVBH/vSA | ||
ySn+hPUQMAoGCCqGSM49BAMCA0gAMEUCIHg2Fk3X64rQ3Y1L9BvFbkOTf/8BfPsU | ||
MgylrVZmhtmiAiEAteir/Us3nRmlMVP7wdROh5xwqZIjkQWo3thCeUY/kWo= | ||
-----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,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIOkM48vHZrZ0ENUHt5bbutzYwHz4JpobGegBxwmYyAlyoAoGCCqGSM49 | ||
AwEHoUQDQgAEjUw3P/EYMUJplfVBfVXyfbHeB11acqBI/0Y2/ERJE7Lk/o3wk2Oa | ||
t3qd/YIx61l/wncFdwt+TAGQh8tpTrXtXA== | ||
-----END EC PRIVATE KEY----- |
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,9 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIIBIzCBygIBADBKMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcT | ||
DVNhbiBGcmFuY2lzY28xFjAUBgNVBAMTDWV0Y2QzLXB5LXRlc3QwWTATBgcqhkjO | ||
PQIBBggqhkjOPQMBBwNCAASNTDc/8RgxQmmV9UF9VfJ9sd4HXVpyoEj/Rjb8REkT | ||
suT+jfCTY5q3ep39gjHrWX/CdwV3C35MAZCHy2lOte1coB4wHAYJKoZIhvcNAQkO | ||
MQ8wDTALBgNVHREEBDACggAwCgYIKoZIzj0EAwIDSAAwRQIhAMkc4OYcZGGBXILj | ||
Ddan5vCYhfcUhHu09cHLGBJbIqS9AiBzt3X1Nh5l0JR3tPP6wc0H0F/q/l6ILFYz | ||
7GtcHBaWtw== | ||
-----END CERTIFICATE REQUEST----- |
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,18 @@ | ||
{ | ||
"CN": "etcd3-py-test", | ||
"hosts": [ | ||
"" | ||
], | ||
"key": { | ||
"algo": "ecdsa", | ||
"size": 256 | ||
}, | ||
"names": [ | ||
{ | ||
"C": "US", | ||
"ST": "CA", | ||
"L": "San Francisco" | ||
} | ||
] | ||
} | ||
|
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,13 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICATCCAaegAwIBAgIUT9DhId/TTY9mJ8xqc8D2zGyBUxkwCgYIKoZIzj0EAwIw | ||
SjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1TYW4gRnJhbmNp | ||
c2NvMRYwFAYDVQQDEw1ldGNkMy1weS10ZXN0MB4XDTE4MDMyNjEwMzAwMFoXDTI4 | ||
MDMyMzEwMzAwMFowSjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQH | ||
Ew1TYW4gRnJhbmNpc2NvMRYwFAYDVQQDEw1ldGNkMy1weS10ZXN0MFkwEwYHKoZI | ||
zj0CAQYIKoZIzj0DAQcDQgAEjUw3P/EYMUJplfVBfVXyfbHeB11acqBI/0Y2/ERJ | ||
E7Lk/o3wk2Oat3qd/YIx61l/wncFdwt+TAGQh8tpTrXtXKNrMGkwDgYDVR0PAQH/ | ||
BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDAjAMBgNVHRMBAf8E | ||
AjAAMB0GA1UdDgQWBBTv+TSBbN3XHWGFtTesLhs0R2/ZizALBgNVHREEBDACggAw | ||
CgYIKoZIzj0EAwIDSAAwRQIhAII0p+8yyrnvbIn929Dvo+8Ielei4NWqGKykhBHq | ||
mOjpAiAswNiZAnpNsxQUnPQsTj8PQsbN5s7Y6DyFl+vmGSJt0w== | ||
-----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,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEINEBhV5Y8peIzddulQ/KBusOkpBRjV/6QUM9h4kC9+MyoAoGCCqGSM49 | ||
AwEHoUQDQgAEQMjDppBcZaM1kajP9vYOKeCXf4vaYUMkG+Zl46QdbH7l2G6A+3hU | ||
iz66ofCJ/k0Kd8kTiYliSmSXUuV0ZlsMyg== | ||
-----END EC PRIVATE KEY----- |
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,9 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIIBNDCB2wIBADBGMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcT | ||
DVNhbiBGcmFuY2lzY28xEjAQBgNVBAMTCWxvY2FsaG9zdDBZMBMGByqGSM49AgEG | ||
CCqGSM49AwEHA0IABEDIw6aQXGWjNZGoz/b2Dingl3+L2mFDJBvmZeOkHWx+5dhu | ||
gPt4VIs+uqHwif5NCnfJE4mJYkpkl1LldGZbDMqgMzAxBgkqhkiG9w0BCQ4xJDAi | ||
MCAGA1UdEQQZMBeCCWxvY2FsaG9zdIcEfwAAAYcEAAAAADAKBggqhkjOPQQDAgNI | ||
ADBFAiEA7+bfM3BCqGElzs0TNT7t2kY+x1LXidGJMx/rYl3+kFMCICRcs/wr72qZ | ||
KevM2sYL4NPxpLpI7w4Oms7eMH1Qcm3X | ||
-----END CERTIFICATE REQUEST----- |
Oops, something went wrong.