From 424e4ae1cc4a706b1069ad94c1691fe66b9c2ad9 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Fri, 16 Jun 2017 13:38:46 -0700 Subject: [PATCH] fixtures: add gencerts.sh, generate CRL --- integration/fixtures/ca-csr.json | 19 +++++ integration/fixtures/ca.crt | 52 +++++++----- integration/fixtures/gencert.json | 13 +++ integration/fixtures/gencerts.sh | 34 ++++++++ integration/fixtures/revoke.crl | Bin 0 -> 778 bytes integration/fixtures/server-ca-csr.json | 20 +++++ integration/fixtures/server-revoked.crt | 35 +++++++++ .../fixtures/server-revoked.key.insecure | 51 ++++++++++++ integration/fixtures/server.crt | 55 +++++++------ integration/fixtures/server.key.insecure | 74 ++++++++++++------ 10 files changed, 285 insertions(+), 68 deletions(-) create mode 100644 integration/fixtures/ca-csr.json create mode 100644 integration/fixtures/gencert.json create mode 100755 integration/fixtures/gencerts.sh create mode 100644 integration/fixtures/revoke.crl create mode 100644 integration/fixtures/server-ca-csr.json create mode 100644 integration/fixtures/server-revoked.crt create mode 100644 integration/fixtures/server-revoked.key.insecure diff --git a/integration/fixtures/ca-csr.json b/integration/fixtures/ca-csr.json new file mode 100644 index 00000000000..a25404ba465 --- /dev/null +++ b/integration/fixtures/ca-csr.json @@ -0,0 +1,19 @@ +{ + "key": { + "algo": "rsa", + "size": 4096 + }, + "names": [ + { + "O": "etcd", + "OU": "etcd Security", + "L": "San Francisco", + "ST": "California", + "C": "USA" + } + ], + "CN": "ca", + "ca": { + "expiry": "87600h" + } +} diff --git a/integration/fixtures/ca.crt b/integration/fixtures/ca.crt index 8470f6bf932..c042b29c51a 100644 --- a/integration/fixtures/ca.crt +++ b/integration/fixtures/ca.crt @@ -1,23 +1,33 @@ -----BEGIN CERTIFICATE----- -MIID2zCCAsOgAwIBAgIUZXdXtcOe421Geq9VjM35+SRJUS8wDQYJKoZIhvcNAQEL -BQAwdTEMMAoGA1UEBhMDVVNBMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH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H0vPk5h +zceob2+4yKU2W+OQNeVChUzc -----END CERTIFICATE----- diff --git a/integration/fixtures/gencert.json b/integration/fixtures/gencert.json new file mode 100644 index 00000000000..09b67267bb2 --- /dev/null +++ b/integration/fixtures/gencert.json @@ -0,0 +1,13 @@ +{ + "signing": { + "default": { + "usages": [ + "signing", + "key encipherment", + "server auth", + "client auth" + ], + "expiry": "87600h" + } + } +} diff --git a/integration/fixtures/gencerts.sh b/integration/fixtures/gencerts.sh new file mode 100755 index 00000000000..6ec4fb377c9 --- /dev/null +++ b/integration/fixtures/gencerts.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +if ! [[ "$0" =~ "./gencerts.sh" ]]; then + echo "must be run from 'fixtures'" + exit 255 +fi + +if ! which cfssl; then + echo "cfssl is not installed" + exit 255 +fi + +cfssl gencert --initca=true ./ca-csr.json | cfssljson --bare ./ca +mv ca.pem ca.crt + +cfssl gencert \ + --ca ./ca.crt \ + --ca-key ./ca-key.pem \ + --config ./gencert.json \ + ./server-ca-csr.json | cfssljson --bare ./server +mv server.pem server.crt +mv server-key.pem server.key.insecure + +cfssl gencert --ca ./ca.crt \ + --ca-key ./ca-key.pem \ + --config ./gencert.json \ + ./server-ca-csr.json 2>revoked.stderr | cfssljson --bare ./server-revoked +mv server-revoked.pem server-revoked.crt +mv server-revoked-key.pem server-revoked.key.insecure + +grep serial revoked.stderr | awk ' { print $9 } ' >revoke.txt +cfssl gencrl revoke.txt ca.crt ca-key.pem | base64 -d >revoke.crl + +rm -f *.csr *.pem *.stderr *.txt diff --git a/integration/fixtures/revoke.crl b/integration/fixtures/revoke.crl new file mode 100644 index 0000000000000000000000000000000000000000..aa3a71c2a46274b2c10dee777977c1b94fbb4ee9 GIT binary patch literal 778 zcmXqLVrDaFe9y$lXu!+HsnzDu_MMlJk(-slAm5P3fQyYel!Z;0IW*YOP}o2a#N!a= za!$<2Ov^9I%S<#BGY|m@vJ3MDC*~=*6(!~+XBH>t8}b@(gT%RnSyD@qQ((%tg?T|- zh2YfW(xS|gN<(e~PLMKYVW#9nab81n12aQ2BLia#L*pn2*T@*kHBdKDWfEalIwAi4 zz2cQqntuz99kt{9qO$7)n!W|f28ssqKvQLvStJa^8bmthU*8d-Bcj;cZYyW>IgkBY z&t45QzcM#5F*4{M_hjC`Kz-MyYYD}Pt9Hyea%N3H&F;fHc&Z<2*fjn7C?WL2F8}6+ z#-E?38GrS9zAas4p6P)*-&YxBAAGiH_T2cgMNbt|PDXpCby!w*G++0y{-8$aXut}>+FDS?eZ>&j+o5y*~N^GWQ=AT6mR4#j5 zO|&!NdiKnAl3O*0NxZ&k$BY}2Cl}03+Vk<5)?dvPNunItyOd^szBa?2XSw*_+0)u> z)xv&Hk9GRDGy2WG>`B`$>}gMk7TmNhlHIu*%co{CdfqhZFt~vD(#W0 z$aU`r>dxDFeU5AYeJW&sZ<>lkzHz{Q=iAzPyAnLNyfo(#Y|Z%m&~I0e+ji65>0ay~ zru`At4szxebTo?HJWnX=WU%iq|FGJ=C!bZ>ay&Zse!V#7(i7YD>kFoI?OOEdLqq8s zGntEW@^N(moV!{svFlpzu)jB(`CqJvg(tsr%dAO>s9c)bDJ~{uhrYc zasJ?`WfJep>|Whgz5Z|Bn<7bFo14~ezdh1Ul=QPW`8b`4Q>f~9^o-+Do*F4L_)T6p zPZB#HXe_s~P%D$d(^V?&mMGYqa1I|AV literal 0 HcmV?d00001 diff --git a/integration/fixtures/server-ca-csr.json b/integration/fixtures/server-ca-csr.json new file mode 100644 index 00000000000..b89066568f8 --- /dev/null +++ b/integration/fixtures/server-ca-csr.json @@ -0,0 +1,20 @@ +{ + "key": { + "algo": "rsa", + "size": 4096 + }, + "names": [ + { + "O": "etcd", + "OU": "etcd Security", + "L": "San Francisco", + "ST": "California", + "C": "USA" + } + ], + "CN": "example.com", + "hosts": [ + "127.0.0.1", + "localhost" + ] +} diff --git a/integration/fixtures/server-revoked.crt b/integration/fixtures/server-revoked.crt new file mode 100644 index 00000000000..391da3f4e47 --- /dev/null +++ b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1hIDxafMPxPrYDbZ9YE +mdixLrkAUlyB50yoiYjbdTvFzvw40A== +-----END CERTIFICATE----- diff --git a/integration/fixtures/server-revoked.key.insecure b/integration/fixtures/server-revoked.key.insecure new file mode 100644 index 00000000000..ade6f7afb15 --- /dev/null +++ b/integration/fixtures/server-revoked.key.insecure @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKAIBAAKCAgEAs2cwlEuXKNQRY5Mjw4bcU0nydG3WlY5ILzPcJn+V/KQS3LG9 +4mTtqIdQ89uAjbaRw234jeKFVvgReQV/65HK+imJf8546z+OJKHVDTd7jPHaD3Hy +f2Rbo5n3Y7RVwoKvY9wZBlufumRhfzATrYgy140+iYkvxeI5Y8cnqX3XEYZy96sT +ojjsuW/YfgksMaePLmy1RM0s+amW+2RiPsadrby7qEf2cC9SIquMq0eJ+Ngq8KBu +xzo5SwXMLcRnnUixs9C4FEz8JYlgNXUndrC9zZy1FEYpYoUlH02Qee0TI9VKOWkF +wMVz18ckMeOs0F14Tv+2IAhiu784Aj+C6+PHJ+kUOM5yKC5lHo1lMTfuAglSXD8t +FZ/o9T8pz2+GIXVpThYxzLFRTCqTWyJ0nv0Bu/Pp/MiZWKVR9PcbyuovlEC3sUX0 +2LTVrQUOwdtvnm4J+iFkYhFkaYM5dNqnkJ0/53ZEnX6Z9LKAB9bVdYgEz/Iftxc5 +4nvr6X1M3qilQNVtmpCDbNyylXlt8ldR0rKmUAKRdIunHJXr1C9yubk3r5YQcqPs +bzVExvmzrX3oBq1lcrG3mjsgIJRRkr9iuWd/35TlykqoPHSnOdUSgOLEStcwkJJ+ +WjYTF42VBVnfJNKfAbyQlUwaHzJUsIpNrvK5CDmYfqJqXveWBp5PohZd1/8CAwEA +AQKCAgAmHEujlRM9Zx9yibVVOfbf8puAxDyLdLg83sVroDraenhPTarKxyn9XRGD +XCPI9vmsDFZ6vZ4ZxYTgspxkDIqT7fL5pYDmaI/nlEFQF3M1k8MA+PHMwiL9dB2r +nom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Oo+Wvy6tYZwwYK78N4WF6c8Bxg8CgPp+66f4H73vEM+Kp0UNiU +Ddcu4W+ywo6zQbh/u4EgMDihiijtuGLLCX5hvkz1P+gyJTv1XlZZuLdjUlHNqLMN +XB2TrwVfYEQ1MDa6PEqmQs6vvcOhnrMs7u2nvONMpVFYIOl2Djh7TgTEfCs= +-----END RSA PRIVATE KEY----- diff --git a/integration/fixtures/server.crt b/integration/fixtures/server.crt index 0293bc28714..a135bedcf6b 100644 --- a/integration/fixtures/server.crt +++ b/integration/fixtures/server.crt @@ -1,24 +1,35 @@ -----BEGIN CERTIFICATE----- -MIID9TCCAt2gAwIBAgIUXtrXPwZLfKUJiGr6ClP3lqhOuKUwDQYJKoZIhvcNAQEL -BQAwdTEMMAoGA1UEBhMDVVNBMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH -Ew1TYW4gRnJhbmNpc2NvMRAwDgYDVQQKEwdldGNkLWNhMQswCQYDVQQLEwJDQTEZ -MBcGA1UEAxMQQXV0b2dlbmVyYXRlZCBDQTAeFw0xNjA3MDUxOTQ1MDBaFw0xNzA3 -MDUxOTQ1MDBaMFUxFTATBgNVBAcTDHRoZSBpbnRlcm5ldDEWMBQGA1UEChMNYXV0 -b2dlbmVyYXRlZDEVMBMGA1UECxMMZXRjZCBjbHVzdGVyMQ0wCwYDVQQDEwRldGNk -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArGvOLPmy5i+1j4JitG4V -g99w125ncs2ImhqucmJe6YtSnKruaLdOx93X7lzC3k0umnvLgh643R4eYS5PvrDk -vw1dSYB7BHhveFPmmWd7m7n7bXtgbcdkCmUeTbSeqvptPgyMJOQfXzfOGbEHfu7U -0raulR6KtqAatofKpRZhZgzZQpVkhdd0UTsOwqCWdX3Qe0D1MS922kX99c4UlGyD -OTVL6tulvDBBYgHbGErFmhxdgwm4e6dFfdkPUeHczzUWnKo2sIGBvo4R/NwPIp6G -PnebrO0VWvcQfdSqjY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yxfFw8JSyYgAmUTp +WwBaROX+1zzq07QlB4xFkfBT0HBphFvWBCifRRX0Sv8VD6Zs31fFsEvVdAYpUlZd +H4dzYXOzk6rlyGqQRx8CQWfJGaTNupkIS/aByPRpkDpNJrkObbMv2daqovV4dEjW +vYNUT58cyQLxFtZoKEnRLJZrDB4nJVY3M81mtDeGHf/tOZV/MOz4W74VOy1xMCkk +nXDpv6o9V0C2kiv3UIEAW7yoCL14q3Ou8z2XA9smsVrBoJCjzP185YmmnBZztpE5 +2Z6XTc77mJYIBdmx2pQz5sRw4dc5wWALgMF15PUa1/oNt7F+BiD0RCl7Eb+/n+1U +qBh64ey3dv+SfsljbH52ywvFV1+kCiq6g9XT70DN85faGTsuRclyqR4ekttR83Sk +HqJIVCkuthgh6BTkbyCzlF1QxNXDMWIlr+lGdwtIW1Vd85fPMrN9t4NwOYQiEpSF +V46pIvEejokKECcajDjU1qmzmZwK5wl4hn6hMpYaYEr7LQTJjhW02+9yfGb/YU9O +00h90p5EjHZMMxdLl1wxGM2DuV7dOPkmrNddhAXN45n9LLplieqE7u/avw3axLBI ++kjdtdYqFRJ8ON3Vu6xjnC7fNOLsyA== -----END CERTIFICATE----- diff --git a/integration/fixtures/server.key.insecure b/integration/fixtures/server.key.insecure index 68ea872216c..72269a2bd04 100644 --- a/integration/fixtures/server.key.insecure +++ b/integration/fixtures/server.key.insecure @@ -1,27 +1,51 @@ -----BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEArGvOLPmy5i+1j4JitG4Vg99w125ncs2ImhqucmJe6YtSnKru -aLdOx93X7lzC3k0umnvLgh643R4eYS5PvrDkvw1dSYB7BHhveFPmmWd7m7n7bXtg -bcdkCmUeTbSeqvptPgyMJOQfXzfOGbEHfu7U0raulR6KtqAatofKpRZhZgzZQpVk -hdd0UTsOwqCWdX3Qe0D1MS922kX99c4UlGyDOTVL6tulvDBBYgHbGErFmhxdgwm4 -e6dFfdkPUeHczzUWnKo2sIGBvo4R/NwPIp6GPnebr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