diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/README.md b/pulsar-io/elastic-search/src/test/resources/ssl/README.md new file mode 100644 index 0000000000000..0a1e91a9e47c7 --- /dev/null +++ b/pulsar-io/elastic-search/src/test/resources/ssl/README.md @@ -0,0 +1,43 @@ +# SSL Cert Provenance + +The files were generated with the following steps. They are not in a script because a script likely won't +work the next time these files need to be updated. These files were copied out of convenience. + +One important assumption is that all certs and keystores share the `cacert.pem` as a root CA. + +[cacert.pem](./cacert.pem) was copied from the tests/certificate-authority/certs/ca.cert.pem file. +```shell +cp ../../../../../../tests/certificate-authority/certs/ca.cert.pem cacert.pem +``` + +[cacert.crt](./cacert.crt) was generated using the following command: +```shell +openssl x509 -in cacert.pem -inform pem -out cacert.crt -outform der +``` + +The [truststore.jks](./truststore.jks) file was generated using the following command: +```shell +keytool -importcert -alias rootca -keystore truststore.jks -storepass changeit -file cacert.crt -noprompt +``` + +The [keystore.jks](./keystore.jks) file was generated using the following commands: +```shell +cat ../../../../../../tests/certificate-authority/client-keys/admin.cert.pem > client.pem +cat ../../../../../../tests/certificate-authority/client-keys/admin.key.pem >> client.pem +openssl pkcs12 -export -in client.pem -out client.p12 +``` + +Manually enter `123456` password. + +```shell +keytool -importkeystore -srckeystore client.p12 -srcstoretype pkcs12 -srcstorepass 123456 -destkeystore keystore.jks -deststorepass changeit -noprompt +rm client.pem client.p12 +``` + +The [elasticsearch.crt](./elasticsearch.crt), [elasticsearch.key](./elasticsearch.key), [elasticsearch.pem](./elasticsearch.pem) files were all copied from broker certs. + +```shell +cp ../../../../../../tests/certificate-authority/server-keys/broker.cert.pem elasticsearch.crt +cp ../../../../../../tests/certificate-authority/server-keys/broker.key.pem elasticsearch.key +cp ../../../../../../tests/certificate-authority/server-keys/broker.key-pk8.pem elasticsearch.pem +``` \ No newline at end of file diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/cacert.crt b/pulsar-io/elastic-search/src/test/resources/ssl/cacert.crt index 070eaa67e21df..87d462dcb4a89 100644 Binary files a/pulsar-io/elastic-search/src/test/resources/ssl/cacert.crt and b/pulsar-io/elastic-search/src/test/resources/ssl/cacert.crt differ diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/cacert.pem b/pulsar-io/elastic-search/src/test/resources/ssl/cacert.pem index ed6f0fffdad9b..0446700135d39 100644 --- a/pulsar-io/elastic-search/src/test/resources/ssl/cacert.pem +++ b/pulsar-io/elastic-search/src/test/resources/ssl/cacert.pem @@ -1,22 +1,29 @@ -----BEGIN CERTIFICATE----- -MIIDqzCCApOgAwIBAgIJAIM4kKJTNpVtMA0GCSqGSIb3DQEBCwUAMEAxCzAJBgNV -BAYTAkZSMREwDwYDVQQKDAhEYXRhc3RheDENMAsGA1UECwwEVGVzdDEPMA0GA1UE -AwwGcm9vdGNhMCAXDTIxMDUxMTE3MjUwMVoYDzIxMjEwNDE3MTcyNTAxWjBAMQsw -CQYDVQQGEwJGUjERMA8GA1UECgwIRGF0YXN0YXgxDTALBgNVBAsMBFRlc3QxDzAN -BgNVBAMMBnJvb3RjYTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANST -1q4mSWgVpUFqmtkgF/SgPUEDpFwzv9oOBFvw/71gy1+THmcw7VAM729O3ZrsJywJ -3iMEo1IwzUIV+tnLFPPFonT8HBuySTQ0rTmGC7+rdOmM26TclBZmOm0pYNwVg3td -rGGceN/eOLG4oIlaJM6SjlNLY8NbjVtB45V5G7I7IxZN44+PiYaH8b1OJld4Z9dE -3bXheLodPRyDIZwOnoTOtOZmPjICk80N1OiEZQa2OIfyhGECqggu8vN+HYoVqhS2 -DFmbeXqQH8piJHsf/gwy9o1EwUnUTcg3XKRu/qAywYwqo43j/+fon+qxRsEzhbLU -9UCBqQakpuyEu6RLTd8CAwEAAaOBpTCBojAPBgNVHRMBAf8EBTADAQH/MB0GA1Ud -DgQWBBTweKQ5biriOHaVWywXTyKv451lDDBwBgNVHSMEaTBngBTweKQ5biriOHaV -WywXTyKv451lDKFEpEIwQD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2EyCLXWSgk8T9XZ +iux8LlPpskt30YYt1KhlWB9zVz7k0uYAwits5foU6RfCRDPAyOa1q/QOXk0= -----END CERTIFICATE----- diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.crt b/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.crt index c8dab8a816352..4237719f20ebd 100644 --- a/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.crt +++ b/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.crt @@ -1,21 +1,111 @@ +Certificate: + Data: + Version: 3 (0x2) + Serial Number: 4103 (0x1007) + Signature Algorithm: sha256WithRSAEncryption + Issuer: CN=foobar + Validity + Not Before: May 10 15:50:18 2023 GMT + Not After : Feb 22 15:50:18 2297 GMT + Subject: CN=broker-localhost-SAN + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + Public-Key: (2048 bit) + Modulus: + 00:de:d1:da:bb:91:b3:16:c4:b2:e8:89:30:9e:c1: + 5e:0b:cf:db:c4:c3:d9:b1:af:40:a5:0b:38:36:1b: + 14:fe:0f:22:9c:e6:59:6a:15:5b:db:f6:f7:f3:a5: + 02:29:94:7a:d2:0c:67:ad:aa:63:62:7e:fc:58:11: + 29:48:b8:3c:91:b2:73:7e:12:6b:f2:ea:36:77:0f: + 15:9b:46:95:ce:73:15:8d:c8:d9:97:57:03:90:33: + 2d:7d:f3:ee:e5:01:6d:d8:c6:da:ab:07:b9:dd:1c: + e0:4b:ce:6a:de:a8:d2:e3:c1:52:6d:83:3a:0a:f0: + ed:cf:f7:56:6a:87:0e:73:e3:12:82:2b:65:ab:d8: + a9:44:5b:4a:2f:a5:92:94:32:f1:a1:e4:af:18:0f: + 0f:18:60:cd:f7:d0:9d:03:9f:d7:e9:a8:60:54:bb: + 3b:9a:05:db:fd:38:04:3c:b4:23:41:16:6c:7c:3b: + d9:b6:e0:2f:bd:cb:62:55:1b:e8:d0:8f:43:76:ef: + 55:86:cf:25:c3:bc:ae:e3:46:50:89:f7:71:ad:06: + 5e:28:e6:f6:f0:76:27:ea:7e:1b:67:53:39:26:20: + 19:18:82:b1:11:5f:ea:91:c2:e3:d3:f6:5a:c7:fd: + 61:a2:92:de:7d:7c:da:6d:e8:bf:39:52:10:31:60: + 4b:e1 + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Basic Constraints: + CA:FALSE + Netscape Cert Type: + SSL Server + Netscape Comment: + OpenSSL Generated Server Certificate + X509v3 Subject Key Identifier: + 17:07:3B:AA:85:83:B5:04:83:EC:B2:6C:1E:3A:F0:F5:59:AA:61:28 + X509v3 Subject Alternative Name: + DNS:localhost, DNS:unresolvable-broker-address, IP Address:127.0.0.1 + X509v3 Authority Key Identifier: + keyid:57:0B:E9:CB:23:E8:BF:47:3E:50:7A:3F:45:7E:A1:18:43:9D:15:27 + DirName:/CN=foobar + serial:D7:E2:87:4F:A0:79:E2:0C + + X509v3 Key Usage: critical + Digital Signature, Key Encipherment + X509v3 Extended Key Usage: + TLS Web Server Authentication + Signature Algorithm: sha256WithRSAEncryption + e4:27:61:e2:0f:b6:a0:ca:9f:ce:e3:53:0b:44:ab:86:a1:e2: + 4d:88:e1:7d:2e:b0:aa:32:96:2b:3d:da:60:70:6a:c3:62:c5: + 76:f2:8f:0d:16:31:f2:ad:e5:2f:43:f3:cb:e4:fa:95:6c:20: + 81:33:1a:c7:5a:55:57:c9:ab:ca:66:45:30:58:00:db:e8:51: + c9:2c:a9:72:c1:18:f5:01:87:9f:73:20:85:6c:e5:6c:3f:c9: + 67:b4:f0:20:e5:ed:e2:4a:08:0b:af:68:43:e5:a9:c7:e1:39: + e8:b5:49:cb:47:4a:6d:e5:16:ae:88:92:13:85:8e:42:1e:0a: + eb:59:ed:a7:c1:9b:bc:4b:7b:99:f8:1d:f0:d7:1d:90:c9:cf: + 86:6a:d3:10:d0:36:e4:f5:b9:33:79:c7:a2:68:31:f7:bb:8d: + 1e:d6:33:79:bd:e7:0e:4f:4d:e9:2e:15:04:4f:6b:4b:2e:93: + 28:72:d1:0e:aa:ee:e6:ef:68:be:58:2b:cc:56:01:27:16:f9: + 34:8e:66:86:27:0a:b0:fb:32:56:a9:8a:d9:6f:b1:86:bd:ba: + fd:50:6c:d5:b2:54:e7:4e:c6:2d:19:88:a9:89:2c:ef:be:08: + 0d:2b:49:91:0b:09:42:64:06:a3:9d:d7:94:ed:e8:74:74:48: + 43:57:41:6f:e5:06:98:46:1d:c5:60:9c:69:f8:fb:fe:a6:01: + 4a:35:be:21:36:c2:a3:44:c8:c4:2c:21:09:f4:28:9a:ad:a0: + 97:1e:00:29:cc:0f:26:fa:59:21:25:c0:9e:fa:22:53:67:6d: + ab:a6:56:08:fd:37:1d:69:fe:ef:6f:29:89:1a:66:7b:c7:ff: + b1:34:f1:d6:be:21:81:e3:bc:4f:13:02:a7:4b:9d:13:05:46: + 40:88:4a:aa:db:fb:64:f8:6b:fb:5d:a0:b1:0c:1a:b8:4c:ab: + 6f:69:fe:0b:55:4e:b3:38:1f:91:0b:71:77:1e:11:39:54:9a: + 62:51:ea:6d:a8:5e:0d:4a:91:fb:d8:be:5d:93:e8:43:f3:4a: + 11:fb:31:cf:14:1a:1c:8d:31:1b:99:31:e0:2b:81:01:91:6f: + da:ba:cb:1f:51:21:55:29:3f:4c:71:e3:d0:29:41:de:a0:00: + da:07:ed:5e:c9:af:32:61:6d:55:f8:f5:2d:46:03:34:33:fb: + 2e:1e:aa:7c:fe:d2:30:4d:40:cc:ed:76:ec:f6:bd:ed:35:c8: + d8:b3:46:56:aa:2c:53:84:56:45:b0:a3:f6:35:66:93:da:8c: + 17:39:c1:29:7c:99:c5:0b:73:c1:f9:16:d0:57:fc:57:59:06: + af:39:9f:a9:51:35:0b:c7 -----BEGIN CERTIFICATE----- -MIIDgzCCAmugAwIBAgIIJDCWmNVVXt8wDQYJKoZIhvcNAQELBQAwQDELMAkGA1UE -BhMCRlIxETAPBgNVBAoMCERhdGFzdGF4MQ0wCwYDVQQLDARUZXN0MQ8wDQYDVQQD -DAZyb290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pmRTBYANvoUcksqXLBGPUBh59zIIVs5Ww/yWe08CDl7eJKCAuv +aEPlqcfhOei1SctHSm3lFq6IkhOFjkIeCutZ7afBm7xLe5n4HfDXHZDJz4Zq0xDQ +NuT1uTN5x6JoMfe7jR7WM3m95w5PTekuFQRPa0sukyhy0Q6q7ubvaL5YK8xWAScW ++TSOZoYnCrD7MlapitlvsYa9uv1QbNWyVOdOxi0ZiKmJLO++CA0rSZELCUJkBqOd +15Tt6HR0SENXQW/lBphGHcVgnGn4+/6mAUo1viE2wqNEyMQsIQn0KJqtoJceACnM +Dyb6WSElwJ76IlNnbaumVgj9Nx1p/u9vKYkaZnvH/7E08da+IYHjvE8TAqdLnRMF +RkCISqrb+2T4a/tdoLEMGrhMq29p/gtVTrM4H5ELcXceETlUmmJR6m2oXg1KkfvY +vl2T6EPzShH7Mc8UGhyNMRuZMeArgQGRb9q6yx9RIVUpP0xx49ApQd6gANoH7V7J +rzJhbVX49S1GAzQz+y4eqnz+0jBNQMztduz2ve01yNizRlaqLFOEVkWwo/Y1ZpPa +jBc5wSl8mcULc8H5FtBX/FdZBq85n6lRNQvH -----END CERTIFICATE----- diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.jks b/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.jks deleted file mode 100644 index 0001e656925ae..0000000000000 Binary files a/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.jks and /dev/null differ diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.key b/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.key index da60f25cb4fc1..5c20238c7b9c9 100644 --- a/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.key +++ b/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.key @@ -1,27 +1,27 @@ -----BEGIN RSA PRIVATE KEY----- -MIIEpQIBAAKCAQEAhlMnjkAdRlD9rZ7yMjTZK+GOfXjNiMZORrtIRSmILuOHw9Gx -EtSaWXFvDPD4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l/elasticsearch.pem b/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.pem index 25b2a0f56cd60..dd9fa523e8ede 100644 --- a/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.pem +++ b/pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.pem @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCGUyeOQB1GUP2t -nvIyNNkr4Y59eM2Ixk5Gu0hFKYgu44fD0bES1JpZcW8M8Phr4mWghgr83cJXku8T -/fNwHmO/r9f9M4BrP555A4yP1AgOO1fWJrhgs57cWpV/e8Hab2logzq6DuyANYjF -iakvcdhN8vgHuxIiexDOkSsMMgfUiq68KjakdGCAo9sCAn3yk5oIuC9jYlEt7iiP -YQwHR9ikTNFGDuZCCRqXfDQLJKZq0e8aoPDZ2CEeOQ100WXWGeKS4TYdG9zH4yYD -kANIF9BTohkoB62i5A4yjcWibZ5KCgYuJPv52VKgEBrFSeGgPEcjpaQ11pNKOoLc -CUXvEgbNAgMBAAECggEAGSDNMYtE7raP/j7RyBqi1daoNUi4CnIuioTWjDmsxDjE -WRmNKpyjE0BpKd6aWnRL1q+8tnk1tfRCzVagh8TnnCBlI3TS/T01hCXp0a40o5Tu -ZZ1wuIZhnY9EkEiyhw54hZinD89i5skdAPczszB06oAdbjTMu66SAlKd3vYtCNFz -M+NQol/l0ajqLsx3ckdoshsWJjU0LE+ParZJ/hNtTve2x0z+zQO+uFYNem5IYtBZ -GTCi81a+7dpVaWm6sZRihc2ZTD+BYIt5VC5Nc7GLcLkRXGKBaFcUrD1bR99CfByW -V600jT0zbQjDoLa/ERK0VEHJU/DIH4NLZNwJO5+FgQKBgQDHyh4oqQe9h0iN+Bd7 -e4b7jG0H6AGmJsYSt3jXTwcFmt7U6fdF31/wg9mG2CdISxFhrnxrdFwaX4aVqfXg -OjDJpfpJrOPSU4MJgufgQQQioNlDglCUgsP7KdMb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2Fz5pXbZTgOmIKDhcrdIimxZUQX34YE18tdHkVQ7W4KSuplpAhRpalC9g3 +295ZupXxUXGDHMchf2rDlsJQFpMyYm4Qrg6qMUECgYBhBG/iLvE6/Z1oh6eky6WU +Dx7nL+FDDu3JbNAWs6RMDs9fE+7iDEj8MxZL0PUnVMsQvf43Ew1boyIGwlNtdRZ5 +dLaKFAgJ8YbqIptnFfGQ/8vKhK+x4FWzEd3kuRzQZPVRVV5Op6bRp1Kb8NMPCQXb +72qifYUaI7uirULNSit9wg== -----END PRIVATE KEY----- diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/keystore.jks b/pulsar-io/elastic-search/src/test/resources/ssl/keystore.jks index 37a3d3b0c90d5..f1e4176d0cf11 100644 Binary files a/pulsar-io/elastic-search/src/test/resources/ssl/keystore.jks and b/pulsar-io/elastic-search/src/test/resources/ssl/keystore.jks differ diff --git a/pulsar-io/elastic-search/src/test/resources/ssl/truststore.jks b/pulsar-io/elastic-search/src/test/resources/ssl/truststore.jks index 165ba17fa8057..0099d0ab956d0 100644 Binary files a/pulsar-io/elastic-search/src/test/resources/ssl/truststore.jks and b/pulsar-io/elastic-search/src/test/resources/ssl/truststore.jks differ