Skip to content

Commit

Permalink
Regenerate testdata/pki and include script for regenerating
Browse files Browse the repository at this point in the history
The existing certificates in testdata/pki expire on September 16 2024.

This commit includes a 'generate_certs.sh' script for regenerating
private keys and certificates as needed.

As I couldn't find the original steps used to generate these, it's
possible these certificates are generated differently, but they are
done in a nominal way.

One slight derivation with the original certificates is that I have
opted to use PKCS12 format instead of the propertiary java JKS format
for the .truststore and .keystore file.  The cassandra and gocql
certificates also embed a spiffe in the SAN so they can eventually
be used for mTLS authentication testing.

patch by Andy Tolbert; reviewed by <> for CASSANDRA-19862
  • Loading branch information
tolbertam committed Aug 26, 2024
1 parent a67eebb commit 39e2c26
Show file tree
Hide file tree
Showing 13 changed files with 379 additions and 264 deletions.
1 change: 1 addition & 0 deletions integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function run_tests() {
"client_encryption_options.require_client_auth: true"
"client_encryption_options.truststore: $keypath/.truststore"
"client_encryption_options.truststore_password: cassandra"
"client_encryption_options.store_type: PKCS12"
"concurrent_reads: 2"
"concurrent_writes: 2"
"rpc_server_type: sync"
Expand Down
Binary file modified testdata/pki/.keystore
Binary file not shown.
Binary file modified testdata/pki/.truststore
Binary file not shown.
12 changes: 12 additions & 0 deletions testdata/pki/ca.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[req]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn

[req_ext]
basicConstraints = CA:TRUE
keyUsage = digitalSignature, keyCertSign

[dn]
CN = ca
45 changes: 27 additions & 18 deletions testdata/pki/ca.crt
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
-----BEGIN CERTIFICATE-----
MIIDLzCCAhegAwIBAgIJAIKbAXgemwsjMA0GCSqGSIb3DQEBCwUAMBQxEjAQBgNV
BAMTCWNhc3NhbmRyYTAeFw0xNDA5MTkyMTE4MTNaFw0yNDA5MTYyMTE4MTNaMBQx
EjAQBgNVBAMTCWNhc3NhbmRyYTCCASIwDQYJKoZIhv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DCzOcrg1oRpqhyR0vBTkzr7x/ZTppL7a9kqeFa
+s5V/knOYydoMbWskBo5B8on4hNFcFU7R85HAsI3yuY5/6HJFAU/Z50yPo1ON/Ms
tqTrNiz81lRKLBp9zfTQN3hVwVtZ+pxzyfOTrHynQXfG0n5ncxbhxh+lmw5W6qkH
6wwANTA6y/j7BQUNo69TZgtEvllKvrcaqFENzFUMwT4RMExo8AB8aHDsGOGpCvty
V0sbgxPKcsK9DqdGyiokTZPY4Q/r0+4xCUPLe69SZbiVbhxYEM7QMLTrQzc7VsS3
DqvMnYGrgDQLgEALw0bmeO1/JUSDal2hefYINwiVJ6JWNraz1kmmBp6AFRN4cRo7
MEfrp/SvrctjivpjJU5m0qqKRVlT2UMpsUUfPcnfMqJDP/ZxqW5TjQWdotzQzFBJ
uTUGMGNKQdOHx9Hg4MigY9jtknqEZENQbX4Zr32SYtU5Ei+fdwNHPURfyj6dQ0XO
uI4pu/xUGCI=
-----END CERTIFICATE-----
82 changes: 52 additions & 30 deletions testdata/pki/ca.key
Original file line number Diff line number Diff line change
@@ -1,30 +1,52 @@
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,54C8072C0FF3B3A3

27eijmHdgB+s3beNPmU0+iz+muxMD0BVvWkDzyec/uawMv/Cn4c3mYXOcsFxS3BL
+qLT9MEttOmjqhHSaVrDYOPKoJIMpn+bVeKiR08V89icO36shEPy1feGqanagKtw
ecgzFDBTA8ZbqjAhftXlhTwxADebvNms/2aDh5Aw04vIcbo8nQ/8z1Wz8O7Firsn
kaseSTMTC6lxc+pa2V1X6mN0/2UpDi55bZbx1Z/mQ3+1CsdHOx0p7m/KY2m3ysov
XluaC0sqmzHkcwNgDhUs3Jh+apE33vXzLGU+W4BDOwrYJiL6KpspZW/mJj3OEx8B
8xdAZU3a/ei8NUA/lDStGmcYX+dOysExwJ6GMrCBm9iufZiefDQCQ8yRqWnr6Zop
lsFd+CqHNWYxfWDI1pS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EqC6FRb75stJplRJ2TDJ2iZ75ga4xhv5aC5bLQJT4wq6RLPvK8p5jQdRCnSbmZ
kL/g/PBjOboEIXU7D8ZS7h2HaSi9/7cIP/Fh7ud2S+/WLnhiFV8Gn+ZbQc08kNCt
v1Q/rBsd6HSMQG4qg5KACPoBYMtbzw==
-----END PRIVATE KEY-----
16 changes: 16 additions & 0 deletions testdata/pki/cassandra.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[req]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn

[dn]
CN = cassandra

[req_ext]
basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment
subjectAltName = @alt_names

[alt_names]
URI = spiffe://test.cassandra.apache.org/cassandra-gocql-driver/integrationTest/cassandra
110 changes: 29 additions & 81 deletions testdata/pki/cassandra.crt
Original file line number Diff line number Diff line change
@@ -1,83 +1,31 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 2 (0x2)
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=cassandra
Validity
Not Before: Sep 19 21:18:48 2014 GMT
Not After : Sep 16 21:18:48 2024 GMT
Subject: CN=cassandra
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (2048 bit)
Modulus (2048 bit):
00:e5:9c:20:9e:de:98:73:44:41:0d:37:4c:62:c3:
9f:87:5f:9b:4f:aa:cf:f6:90:6e:a5:e0:89:88:7a:
00:c6:bb:d7:80:87:69:2e:fa:f0:35:59:80:6e:82:
25:c8:b3:6c:f6:a4:97:97:93:93:ea:f0:70:70:a4:
e1:b7:aa:da:c1:99:66:9b:93:04:3a:ce:0b:83:07:
06:22:3d:a6:db:7f:68:0f:49:80:bd:86:a8:bb:54:
6d:38:5f:0f:b0:fa:1b:97:24:ae:cc:9d:37:98:7e:
76:cc:e3:1b:45:1b:21:25:17:02:c0:1a:c5:fb:76:
c3:8b:93:d7:c5:85:14:0a:5c:a4:12:e7:18:69:98:
f5:76:cd:78:cd:99:5a:29:65:f1:68:20:97:d3:be:
09:b3:68:1b:f2:a3:a2:9a:73:58:53:7e:ed:86:32:
a3:5a:d5:46:03:f9:b3:b4:ec:63:71:ba:bb:fb:6f:
f9:82:63:e4:55:47:7a:7a:e4:7b:17:6b:d7:e6:cf:
3b:c9:ab:0c:30:15:c9:ed:c7:d6:fc:b6:72:b2:14:
7d:c7:f3:7f:8a:f4:63:70:64:8e:0f:db:e8:3a:45:
47:cd:b9:7b:ae:c8:31:c1:52:d1:3e:34:12:b7:73:
e7:ba:89:86:9a:36:ed:a0:5a:69:d0:d4:e3:b6:16:
85:af
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
X509v3 Subject Key Identifier:
4A:D3:EC:63:07:E0:8F:1A:4E:F5:09:43:90:9F:7A:C5:31:D1:8F:D8
X509v3 Authority Key Identifier:
keyid:8C:7C:E7:D2:76:05:89:71:1A:23:5B:D4:59:B4:51:E2:5C:0A:5C:E8
DirName:/CN=cassandra
serial:82:9B:01:78:1E:9B:0B:23

X509v3 Extended Key Usage:
TLS Web Server Authentication
X509v3 Key Usage:
Digital Signature, Key Encipherment
Signature Algorithm: sha256WithRSAEncryption
ac:bc:80:82:2d:6d:f1:a0:46:eb:00:05:d2:25:9a:83:66:57:
40:51:6e:ff:db:e3:28:04:7b:16:63:74:ec:55:a0:c0:5b:47:
13:e1:5a:a5:6d:22:d0:e5:fe:c1:51:e8:f6:c6:9c:f9:be:b7:
be:82:14:e4:a0:b2:0b:9f:ee:68:bc:ac:17:0d:13:50:c6:9e:
52:91:8c:a0:98:db:4e:2d:f6:3d:6e:85:0a:bb:b9:dd:01:bf:
ad:52:dd:6e:e4:41:01:a5:93:58:dd:3f:cf:bf:15:e6:25:aa:
a0:4f:98:0d:75:8a:3f:5b:ba:67:37:f6:b1:0b:3f:21:34:97:
50:9a:85:97:2b:b6:05:41:9a:f3:cf:c4:92:23:06:ab:3e:87:
98:30:eb:cb:d3:83:ab:04:7d:5c:b9:f0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ou6lIdS23ToxeEeaMCY+0L4WGrlEpNecUFjsxws
WONg21/R3chGcALldsMMcHMtVVPU1Asct8mVStNTc4A6xhr7DJwA/YWG0k1/uS4=
-----END CERTIFICATE-----
79 changes: 52 additions & 27 deletions testdata/pki/cassandra.key
Original file line number Diff line number Diff line change
@@ -1,27 +1,52 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEA5Zwgnt6Yc0RBDTdMYsOfh1+bT6rP9pBupeCJiHoAxrvXgIdp
LvrwNVmAboIlyLNs9qSXl5OT6vBwcKTht6rawZlmm5MEOs4LgwcGIj2m239oD0mA
vYaou1RtOF8PsPoblySuzJ03mH52zOMbRRshJRcCwBrF+3bDi5PXxYUUClykEucY
aZj1ds14zZlaKWXxaCCX074Js2gb8qOimnNYU37thjKjWtVGA/mztOxjcbq7+2/5
gmPkVUd6euR7F2vX5s87yasMMBXJ7cfW/LZyshR9x/N/ivRjcGSOD9voOkVHzbl7
rsgxwVLRPjQSt3PnuomGmjbtoFpp0NTjthaFrwIDAQABAoIBAQChjdjl73kUoVGk
GuSEGWCFv59nzqfEtJsl23bpr+4b5s8agCxiAe5Bm1fiaXBsZtKkN+rxm8TX6ZUz
rM+ki3KgBW9Mx4SSW6d96dNHBFoC1wJAv1b2A2l1ZVHz9+7ydwgysHzNO1GC2nh8
cM8fMJeBoU8uG6hx5n5wFvYa5CfVoUQh8+Oq0b+mVxEFKHmRPnWp9/jPzL5eBIdr
ulbDt9S3dKJtouHgHBUNdkq/7Ex3QeHrUOahX6Y4eX1rzLnfLYY+0J4EA2PCKvgQ
bfKCxVnnzL6ywviH8eS3ql6OvTfnbK9kCRw7WxX9CC50qKj3EmwC/51MPhWohWlq
jw3qf38BAoGBAPPNyb3vUiyUqoErZxxIPFc2ob3vCjj06cvi7uKpOgrkdgC3iBhz
aCFQ28r7LrxLAHaKvNvwp71Lc7WYo8WWkLI1DVn0dx+GiQYW3DbNcwZOS40ZQz5L
zsjEcG4+cnZmuqGZBMNv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50HEsV3+1p7cOnEUlaKBvxd+yknzfzIfl7AD84i+rxPA7IFdR6na2ri
vis9GjBb2pVhHoQh/96XocV+zwdnIgCMymmoFw8CggEAJL2Yz5M3p349YOyfkkgU
sCovLFK9a1Q+D+f/SbLkFxTYkhqs5VB1evezYmYVbWObOXC9fxNMPXE+LhEb5jnw
qF32FkNuxhYtsHbJlNgvbirmVBcwKGjJiFUQdwdt3cgSip7LZtv4R8VQFVc/jjd5
oa4qa3rtXdXVsDjD4+TXLivZKUFKMjKuX2LUl54+onefeHINlOYAuCMRnTX2aQzj
LRzUsiCZN7YvQNavWziihdW67JJ/je5iZAOmhscO2X3WcqGSWj0G3o2U57/AIGSu
r878S/MAxG54GSK17MzvyqG02zYTa635QthYVnU91O0NMhgc8eMb1sdnyogGdvzj
tQKCAQEAhVWROtGiUU4hyqdph9FFPvn9fOMylQ0nRTw0G/LAMPUX2OIGurpCvz0w
3ly3vZOMATXqTPlFdJeGT41UfDQtjdDk5/BE7kIIYsP24tk2mAs6lTI+IYk2/spd
e27GhQL9buv8r6kQaI5S1QABvcfOL0XVXBRF63bqpgy0Z3+doBA498ejIKK9PwzF
L75LLI4jcj+FagO9fT0yLScnWh1sDA9KE6pRceUM9HYXorsr6p0oZynUeS5GVPgI
bQRVI1REyq+acjhlR7Ax1EQyfed3RPxH65Q6d8w9vmmbAsICjOxBc/V0ftRtIbIp
Gn6LN0e9cF+jjrPJtrupxUhVPe803w==
-----END PRIVATE KEY-----
Loading

0 comments on commit 39e2c26

Please sign in to comment.