Skip to content

Commit

Permalink
Regenerate certificates used in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaflik committed Nov 26, 2024
1 parent a4ecf3e commit 7081866
Show file tree
Hide file tree
Showing 6 changed files with 122 additions and 120 deletions.
47 changes: 18 additions & 29 deletions tests/resources/CAroot.crt
Original file line number Diff line number Diff line change
@@ -1,30 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIFEzCCA3ugAwIBAgIQN+av10qNtgJOzLu626LicjANBgkqhkiG9w0BAQsFADCB
oTEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMTswOQYDVQQLDDJkYWxl
bWNkaWFybWlkQEdhbGF4eS1KMzIwMTcuc2NvdG8gKERhbGUgTWNkaWFybWlkKTFC
MEAGA1UEAww5bWtjZXJ0IGRhbGVtY2RpYXJtaWRAR2FsYXh5LUozMjAxNy5zY290
byAoRGFsZSBNY2RpYXJtaWQpMB4XDTIyMDgyNTE2MjEyM1oXDTMyMDgyNTE2MjEy
M1owgaExHjAcBgNVBAoTFW1rY2VydCBkZXZlbG9wbWVudCBDQTE7MDkGA1UECwwy
ZGFsZW1jZGlhcm1pZEBHYWxheHktSjMyMDE3LnNjb3RvIChEYWxlIE1jZGlhcm1p
ZCkxQjBABgNVBAMMOW1rY2VydCBkYWxlbWNkaWFybWlkQEdhbGF4eS1KMzIwMTcu
c2NvdG8gKERhbGUgTWNkaWFybWlkKTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCC
AYoCggGBANf+vC9RRj/s8kZv/pDC8nNnZg6pOihdYuklnrsJn6pWcyQRxrcvDkDz
4GCf8438mpjjrONvfUyQ7oe67ZkuZj78MziSnPH6n61lRyq5taZ2198Dx428Lbs/
tYnjriNnwJCXgKyrdHrYqPDqnCOqcW1vbxwbsg/Z4Z1K3hpr8MqdEnAMWIFZ+4VE
SRmnAnw3L3l6/LJ/+Eup2Ajfjt4Yi7YiVST5kF6529mxEBPY3VmBf19E16q2yArW
7U5Zc4Xfjn6ASl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0zNDExMjQxNjAwNDJaMB4xHDAaBgNVBAMME2NsaWNraG91c2UubG9jYWwg
Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLquc0HDonXpBL7fQa
opnsiD8Bg+DF4hMZA3SRVs1wgRL8napH0jF3gHdDgoLS7w0it/e2xT1PdIoi9M4k
HakOtnd5diVr6RCXHbx2x92HjcoxPepJqB3PKQB5n9qxgB340H0nBLs+K0H1VPhT
+5yZGc1KBzW1CdxgY11pliKRIsWLeBtZJOgjcM9rNxYJvWc1EKaThSFiFPJcn5Ak
YZ49FLkUKe5WrfHk3mhfP2oP362o3hZvTmqRidmGj5WfdudkHHtsx+u3V4cKFuun
1vMU+p3XdBBOI9ceLcQXrQbImNfG9i7LTLtWnXqJqNyXlBhBK2eYKes/avsB9ZkK
ec9zAgMBAAGjUzBRMB0GA1UdDgQWBBQf4JVPG1y22kvZ5ynqQRxaRU8GFDAfBgNV
HSMEGDAWgBQf4JVPG1y22kvZ5ynqQRxaRU8GFDAPBgNVHRMBAf8EBTADAQH/MA0G
CSqGSIb3DQEBCwUAA4IBAQBNrpz+RR58ZU1ZbTIQqCFY7dgK5YvB9ffu+tL88jTV
DsTnpBECdvKkYQFcLEsL3YyVei32qfhcuCVDKPSdOsv0AFU1+ffx4UE21zObKWNZ
fN4FMiAMwK51k/2GbS6E/D7eT0m635Oq6rzw6sWBW/G9nmWFtvTreTpsn1pk5KFM
0Ssh3TTrrpe5vXYdIwhHqUGDUpPoDDBFETAckqFLMxb08o+Ke0sHl4Gm45mT1lVa
SLjFWs4uZgwBK2YW5B/T6NrRsr6J0NEq6nl6hzkqrSyFG/Vxlvkn7nMROBlYb2IK
7O8WqzMKrPICRdPJDlYE+/hF9gbVV+lnFRqYb42P0LY6
-----END CERTIFICATE-----
66 changes: 27 additions & 39 deletions tests/resources/CAroot.key
Original file line number Diff line number Diff line change
@@ -1,40 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIG/wIBADANBgkqhki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zcVYDmsBkmc+2SMkAZ+jnUEQHxzRGBLlzw50QqBHsRJJTpeR6yjs/YpV29dv
pG8FLQyIeZtdmcfAkm/3cxj9zKbF0/cQcOUugqk2AKeDfKDLRNxqA8spsC28GGqK
rByCwZMnBwTnotAi11PNHcArzQKBgQDjB9/jFT5rX2tFNKO8JZIsfUrN2h5BK94B
iGfo6qOqauJcwsRxjus9EEEZvCPLnJ5YpMnDqspzQLk6QQiSeSJUt1loaMXUL7ZM
sCbR30Y6TbFARCPW3ZE9TYj1CaHsQQLkM6a+wB8Sg+ZM924GsLn3tWFjeTf++JXU
ErrLVbMoPwKBgGrvQb0Yr4SeJWGjxXWj78cQ/XcHH6RXu2N0T/yQFPlmW8lZ810Z
TJNdWmmgLGm1dcJUqhbz3NadKDDacPI3KsrKMy/JECMBXBW7Gg+qtFRZWr56+Gvb
ZZvGk2vl2hpLicOciNWEdrEuq90NsW5ovc3UvORLTGlfUnMmuIql87lxAoGADvjb
+PvTq/0U8/Fuwt+vbiOtJTo3OJEOCQfX4nJm7LwzxW5KyjpkpRhHUs0nhywC/VGQ
xMikpUklbgQP7qjybKfSy6HtOfsTiKctSDXzSbEJ+XUE8AyYoXRVjeNevFflOut1
GatN4Ui1jWnb5bEN8poRnB/IY5Y9O0ko7HPwZr0CgYEAo/WSHXdCY0uhyjOFZBtl
zswCw7yRDXsMST6EzwL2wybAcwU+wikX73QqcI2JnbN746XrClUf6azYEumx6qKw
DaIDlN1n/mubdXId+aUv6QxuUWUf7EinpVZPXbxwtRE4o34SiUBcbynIXivudAKi
JiGuK+63kGgxVBlINUBWtmA=
-----END PRIVATE KEY-----
43 changes: 18 additions & 25 deletions tests/resources/clickhouse.crt
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIEdzCCAt+gAwIBAgIRAMHFbgPPvt5PmteGk7qhtTMwDQYJKoZIhvcNAQELBQAw
gaExHjAcBgNVBAoTFW1rY2VydCBkZXZlbG9wbWVudCBD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TwYUMA0GCSqGSIb3DQEB
CwUAA4IBAQC3e6p7XHYsC0ARtJ/YZu3DIw//YtLGLaRJJqIwl66+U1Em6kTNHbAr
8zetHykI29OQAtyF7gy9VcXz/5LMYvRI7CC2I+U2+G7emZwbyVMhlvA2QlOwejQA
q4HCb6t/XP7nWr/IDguO25Lx50NNCtU2+uVso3Cw7MvMnZcdwaGadwgt8JV0wsOc
mJtst8HnwjIzq9JZS2+Oo+EPjPgiUGDEZYIkT7yHgqmmvsJR7HVs1s8UhfblbLdk
xGOs03fNIIxdYqBX+pNuESatQNCpngQbj2KzbbrK9nm5ZQKWws3PLMZw7x58lbWf
4G51aDNkLnt4sMcxZtlcsnUp6hl9ZpmE
-----END CERTIFICATE-----
16 changes: 16 additions & 0 deletions tests/resources/clickhouse.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICfDCCAWQCAQAwFTETMBEGA1UEAwwKY2xpY2tob3VzZTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBALGoS++blG6U0YXEu6AnsNNkXsGFH60L1+hJ+jox
zK1XK22FjAONrKzJVIGo0uCq9P175ohB4TqVqvJm2rO5IRFWgcbSRHq71eNpwUHR
VOSJFL4FObji4HSB8Qep/Rr7lgtkx98tFDnkj6sQrYEPWNawH2Xj5vr+p7rlamuB
dav0mtDby77q0cTI3oVhfex1ZvP2eA0fLUGOcp18olwkR3qWDIVOE3XqQMcoht7A
mFg6mKaX9N56OducaExojHGqqH9XaQrge89tSUeZ4vdGN2sHjz93R06CVa6KS3mA
fut8hDUQr8p9D2HCGXd9vzk780pB9OEwLX04KwA8L8uI6dMCAwEAAaAiMCAGCSqG
SIb3DQEJDjETMBEwDwYDVR0RBAgwBocEfwAAATANBgkqhkiG9w0BAQsFAAOCAQEA
ae2sbbh1fH1PqE1oZAPmdivOWwAAr8Zyb1vgpw8dzASferG70H2UtQB76VSe7wjY
IrTUHHDGB6jSDpdbiLimewRuaqisw+fuCOZVYy4bmnrG5oQJlpkHejcBqgdnf7B8
6nyf/urt+HStHm7BGkccMJofXhPgfnGLvYyuPlj/fwn1znC+Fa8BkHR5MudCRbiw
dZb4hQzWefPn+KidMdpCW2dRdbQVhOtqigAkahLmPeNJkPnJA3PsHProJ8QP4EqF
Ebco5GXtJ76OLoK0h+CTAK2ahNLLBdzqsGqIIL/kw3xXKIFkG5xegm6Vaqyoa/FM
UxoNtH1f7vuSnwD394yqDQ==
-----END CERTIFICATE REQUEST-----
54 changes: 27 additions & 27 deletions tests/resources/clickhouse.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC/keNuqKBLb0Ke
mv8iUYpA9HFL7W0D5SvGqu+Q+fuJbfyC6aLTc/lF56dH+3v3dJvYjSoB9GyHIi0C
EZwGsJOJhD7lT92CDNiDjD/jufYJcMBdB94r1FLEEutaRnLeb4Zgx7vy2rV5PcPs
qnHc2aMKKiVQwXWjU7X/K9GHHd8HlKBbHs51TbEOaARYLow4zQL3A5abWxkgfUbm
D4E31xgERo8z4b7RNmWfCwC6snixIsO4XVsR5titwQyAwaeQiFmUm1VF9HPeeH+Q
hLv3cAR0E4tg9iG/g/59f0qqk5c85Sj7mdcpumQ1DJUBJ5e90ipf/3WKHb+ADUuR
/ToQEY63AgMBAAECggEAPNjJtEw7HbqpHld80hm0IA2ELumqxqHz1ZZVoWbFTlFw
8uPio+ciNeHucB6gsWiIV6/+t8A6+HESeqW9OSK8ueEXWR6U7MnHu4DAikR2sWju
sJ3fI2y9HSolNvdJZP1nYTYPrINrQKcto+4/XDaEYqYgVBYel1HvbK0uUAxc2rr8
wBS3hhkUKMiZgPzJwTpFTlHYece30qellUqTA6lB/bbBbj6Ij75AUvSCrYGapuG0
ZWzE/iseAd+sFWOf8STjLX0fI09N1VqUgyNGy02MB+DL5D2uAEgiL4pWBLB03D9u
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TFjp5JiwrcvZjiXY3s
aMvg1m0YO1cJF/k9K1aCvgR0wq0FcE3A+nhARpeudQfQkUaBcrPolbWwUwKBgF76
Z+5hthVDDoRA+di0VK/F5jqJXi/1j5Zi+MGes8XXiByujuBU0SmxxiLuEPoRQc5w
ZRE/JL/UKa9Qf9oGybpW2gD0F+277dV4M3wRp62s471skCUw2QlGwvs60WEG+7kj
GCsyroAQyIyir5n7i7UPhyGWy2RT9Oz1ddBfKo0BAoGAZ3lB11S9Zp9ftZ9xrxsQ
V9wUsP0o7m2EhenQUiQSsvyTKUjN/sZrs42dCImWSdsROMWFOS/JnoLZQgx9PRrd
y0pzhUZoZu3S3QU5aVZ84TaqmsZps47X/dtHhK4VwNTiG/siWuAWHbwvtEx8mKnp
hIr7zMJO4Tw5eGlHMiraS1g=
-----END PRIVATE KEY-----
16 changes: 16 additions & 0 deletions tests/resources/generate_certs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

# Use this script to regenerate certificates for ClickHouse server used in tests.

days_validity=3650

if ! command -v openssl &> /dev/null
then
echo "openssl could not be found"
exit
fi

openssl genrsa -out CAroot.key 2048
openssl req -x509 -subj "/CN=clickhouse.local CA" -nodes -key CAroot.key -days $days_validity -out CAroot.crt
openssl req -newkey rsa:2048 -nodes -subj "/CN=clickhouse" -addext "subjectAltName = IP:127.0.0.1" -keyout clickhouse.key -out clickhouse.csr
openssl x509 -req -in clickhouse.csr -out clickhouse.crt -CA CAroot.crt -CAkey CAroot.key -days $days_validity -copy_extensions copy

0 comments on commit 7081866

Please sign in to comment.