THRIFT-3660 Add V4 mapped address to test client cert's altname Client: Test Patch: Nobuaki Sukegawa
This closes #887 Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/008283de Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/008283de Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/008283de Branch: refs/heads/master Commit: 008283de6c93e300891cbeff0d1b3b683ad7c9ed Parents: 55c4fc9 Author: Nobuaki Sukegawa <ns...@apache.org> Authored: Mon Feb 22 20:59:04 2016 +0900 Committer: Nobuaki Sukegawa <ns...@apache.org> Committed: Mon Feb 22 23:26:11 2016 +0900 ---------------------------------------------------------------------- test/keys/README.md | 1 + test/keys/client_v3.crt | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/008283de/test/keys/README.md ---------------------------------------------------------------------- diff --git a/test/keys/README.md b/test/keys/README.md index eb67fd8..010835d 100755 --- a/test/keys/README.md +++ b/test/keys/README.md @@ -59,6 +59,7 @@ copy openssl.cnf from your system e.g. /etc/ssl/openssl.cnf and append following [ alternate_names ] IP.1=127.0.0.1 IP.2=::1 + IP.3=::ffff:127.0.0.1 create a signing request: http://git-wip-us.apache.org/repos/asf/thrift/blob/008283de/test/keys/client_v3.crt ---------------------------------------------------------------------- diff --git a/test/keys/client_v3.crt b/test/keys/client_v3.crt index 6703c7a..a47f156 100644 --- a/test/keys/client_v3.crt +++ b/test/keys/client_v3.crt @@ -1,10 +1,10 @@ -----BEGIN CERTIFICATE----- -MIID9jCCAt6gAwIBAgIBATANBgkqhkiG9w0BAQsFADCBsTELMAkGA1UEBhMCVVMx +MIIECDCCAvCgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBsTELMAkGA1UEBhMCVVMx ETAPBgNVBAgMCE1hcnlsYW5kMRQwEgYDVQQHDAtGb3Jlc3QgSGlsbDEnMCUGA1UE CgweVGhlIEFwY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