-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
test: certificate fixes for fedora #5877
Conversation
Some systems don't support EC due to patent issues, but the tests should still work. Fixes etcd-io#5744
@@ -139,10 +139,10 @@ func cURLPrefixArgs(clus *etcdProcessCluster, method string, req cURLReq) []stri | |||
if clus.cfg.clientTLS != clientTLSAndNonTLS { | |||
panic("should not use cURLPrefixArgsUseTLS when serving only TLS or non-TLS") | |||
} | |||
cmdArgs = append(cmdArgs, "--cacert", caPath, "--cert", certPath, "--key", privateKeyPath) | |||
cmdArgs = append(cmdArgs, "--cacert", caPath, "--cert", pkcs12Path+":123", "--cert-type", "P12") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is +":123"
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
password; I tried making it with a blank password but curl still complained asking for one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok got it. Thanks.
lgtm. Defer to @xiang90 |
nuking the P12 cert commit since CI doesn't support it |
eef0594
to
c642430
Compare
lgtm |
holding off on merge until I can test on a fedora vm tonight |
tested and works, merging |
fedora doesn't support ECDSA and darwin's curl wants pkcs12 certs