Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed dask executor and tests #22027

Merged
merged 10 commits into from
Mar 8, 2022
2 changes: 1 addition & 1 deletion airflow/executors/dask_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def airflow_run():
raise AirflowException(f"Attempted to submit task to an unavailable queue: '{queue}'")
resources = {queue: 1}

future = self.client.submit(airflow_run, pure=False, resources=resources)
future = self.client.submit(subprocess.check_call, command, pure=False, resources=resources)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related to #11451

self.futures[future] = key # type: ignore

def _process_future(self, future: Future) -> None:
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version
# Dask support is limited, we need Dask team to upgrade support for dask if we were to continue
# Supporting it in the future
# TODO: upgrade libraries used or maybe deprecate and drop DASK support
'cloudpickle>=1.4.1, <1.5.0',
'dask>=2.9.0, <2021.6.1', # dask 2021.6.1 does not work with `distributed`
'distributed>=2.11.1, <2.20',
'cloudpickle>=1.4.1',
'dask>=2.9.0',
'distributed>=2.11.1',
]
databricks = [
'requests>=2.26.0, <3',
Expand Down
78 changes: 78 additions & 0 deletions tests/executors/certs/tls-ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
19:fb:f4:04:67:ac:20:77:d3:51:ee:8a:c1:6c:12:ab:85:be:be:99
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=XY, O=Dask CA, CN=our-ca-server
Validity
Not Before: Mar 6 18:14:02 2022 GMT
Not After : Mar 6 18:14:02 3022 GMT
Subject: C=XY, O=Dask CA, CN=our-ca-server
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:c1:88:fb:ce:09:06:21:65:69:9f:7b:9e:fc:5c:
95:1a:c4:32:9a:ce:35:5d:df:e1:23:7f:d9:95:12:
ec:a7:3c:83:2e:5d:57:3c:25:42:ea:38:33:6d:1c:
46:50:de:b8:4e:6b:a3:6f:ad:fb:69:5e:f5:88:b0:
54:7e:73:f6:9c:16:08:04:8f:67:4c:86:93:76:ff:
85:79:81:fe:b4:56:97:04:cc:73:78:e7:c2:86:b7:
b7:88:a5:98:f9:6b:f0:ad:de:c5:7f:2c:ae:aa:32:
7e:e2:f9:73:31:b5:aa:d4:69:08:be:13:62:e3:14:
ea:40:ff:23:f9:23:4a:39:af:4e:dd:dc:de:c4:76:
33:1a:fc:3b:03:ef:8e:54:6b:70:6d:50:1c:c7:f9:
98:5f:30:6e:f2:f4:3f:68:d5:01:3b:cb:fe:7f:aa:
53:65:38:4c:b6:a3:bf:21:33:66:6f:5e:fe:1b:9d:
01:0f:15:7d:fc:20:2e:4d:f1:97:06:26:79:20:48:
01:32:4b:77:1a:d3:68:e2:dd:56:e2:dd:c8:27:05:
ee:9e:08:70:52:6d:47:65:df:c9:ef:07:8a:0c:69:
09:d8:44:84:86:c6:c3:e8:1e:d9:53:61:3b:45:d4:
22:34:7c:9d:0c:58:02:cb:95:5a:a2:c3:6e:28:67:
6d:3f
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
A6:91:AE:DC:C0:AF:AD:95:82:0F:32:58:28:A2:0D:AB:F2:CA:62:63
X509v3 Authority Key Identifier:
keyid:A6:91:AE:DC:C0:AF:AD:95:82:0F:32:58:28:A2:0D:AB:F2:CA:62:63

X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha256WithRSAEncryption
4f:37:dc:5c:e7:38:da:6e:4f:b4:ac:76:80:46:ce:c5:fe:d9:
0d:58:8e:20:f1:7a:40:75:8e:7d:63:2c:67:49:4a:aa:e8:7c:
09:37:8d:e6:db:0d:5c:b3:f3:8f:93:b7:e6:9b:e7:0b:1a:22:
d8:a9:6d:44:8b:96:51:00:7b:3e:27:83:28:15:c6:b8:76:d8:
50:56:69:97:e8:1e:7a:00:72:65:8f:4f:da:a3:d0:32:3a:6c:
56:70:ed:48:8a:e8:87:e0:77:33:13:f6:72:9c:02:37:42:39:
e7:cc:47:3d:14:c9:4e:6f:2a:f3:c7:37:62:9f:4b:d7:76:57:
6b:95:51:c9:a3:29:f6:00:0b:2d:93:4c:7b:b9:1e:d6:a2:c4:
58:7d:fb:bb:20:c8:8d:bd:ad:e8:14:97:05:a5:03:5b:55:f3:
c3:ef:33:d3:eb:3c:24:97:7e:32:85:f3:42:00:c1:10:21:28:
1f:bc:0c:52:13:cb:91:34:f7:e6:32:e5:36:40:92:35:59:98:
4f:17:86:5c:02:88:c3:d6:f4:8f:1f:fc:c2:ef:1f:23:51:f1:
f5:01:54:ba:45:d8:57:1b:ad:40:70:87:5e:76:3d:53:ad:02:
be:3c:49:48:64:c8:67:5e:d9:de:16:c9:eb:16:97:ee:9b:55:
a6:f0:44:2b
-----BEGIN CERTIFICATE-----
MIIDTjCCAjagAwIBAgIUGfv0BGesIHfTUe6KwWwSq4W+vpkwDQYJKoZIhvcNAQEL
BQAwNzELMAkGA1UEBhMCWFkxEDAOBgNVBAoMB0Rhc2sgQ0ExFjAUBgNVBAMMDW91
ci1jYS1zZXJ2ZXIwIBcNMjIwMzA2MTgxNDAyWhgPMzAyMjAzMDYxODE0MDJaMDcx
CzAJBgNVBAYTAlhZMRAwDgYDVQQKDAdEYXNrIENBMRYwFAYDVQQDDA1vdXItY2Et
c2VydmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwYj7zgkGIWVp
n3ue/FyVGsQyms41Xd/hI3/ZlRLspzyDLl1XPCVC6jgzbRxGUN64Tmujb637aV71
iLBUfnP2nBYIBI9nTIaTdv+FeYH+tFaXBMxzeOfChre3iKWY+Wvwrd7FfyyuqjJ+
4vlzMbWq1GkIvhNi4xTqQP8j+SNKOa9O3dzexHYzGvw7A++OVGtwbVAcx/mYXzBu
8vQ/aNUBO8v+f6pTZThMtqO/ITNmb17+G50BDxV9/CAuTfGXBiZ5IEgBMkt3GtNo
4t1W4t3IJwXunghwUm1HZd/J7weKDGkJ2ESEhsbD6B7ZU2E7RdQiNHydDFgCy5Va
osNuKGdtPwIDAQABo1AwTjAdBgNVHQ4EFgQUppGu3MCvrZWCDzJYKKINq/LKYmMw
HwYDVR0jBBgwFoAUppGu3MCvrZWCDzJYKKINq/LKYmMwDAYDVR0TBAUwAwEB/zAN
BgkqhkiG9w0BAQsFAAOCAQEATzfcXOc42m5PtKx2gEbOxf7ZDViOIPF6QHWOfWMs
Z0lKquh8CTeN5tsNXLPzj5O35pvnCxoi2KltRIuWUQB7PieDKBXGuHbYUFZpl+ge
egByZY9P2qPQMjpsVnDtSIroh+B3MxP2cpwCN0I558xHPRTJTm8q88c3Yp9L13ZX
a5VRyaMp9gALLZNMe7ke1qLEWH37uyDIjb2t6BSXBaUDW1Xzw+8z0+s8JJd+MoXz
QgDBECEoH7wMUhPLkTT35jLlNkCSNVmYTxeGXAKIw9b0jx/8wu8fI1Hx9QFUukXY
VxutQHCHXnY9U60CvjxJSGTIZ17Z3hbJ6xaX7ptVpvBEKw==
-----END CERTIFICATE-----
28 changes: 28 additions & 0 deletions tests/executors/certs/tls-ca-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDBiPvOCQYhZWmf
e578XJUaxDKazjVd3+Ejf9mVEuynPIMuXVc8JULqODNtHEZQ3rhOa6NvrftpXvWI
sFR+c/acFggEj2dMhpN2/4V5gf60VpcEzHN458KGt7eIpZj5a/Ct3sV/LK6qMn7i
+XMxtarUaQi+E2LjFOpA/yP5I0o5r07d3N7EdjMa/DsD745Ua3BtUBz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YSAHbynVuiS/m78MiMVA4mgt5pXdg/x
h5TOCGbveT4yJsk2X/MI8znTMBc9mZkaRTi3n23bNo5eURlzFytELubephhJK5Px
egrW9nqLhWUlCa3T4ORnx6uOkGiHgwF6Mz5ateAxAoGBALRMlazjRQu/bZe/9xxn
qLMnmS/qMZ63MTD3WWnlQdOxaX15xBgKthAhCb+Bbumb3V8tl+igq9vAUhhUjYzL
k+0u/EFCURft+IGFQU8r5Yre7svUZb+qZq10CdzFct/Q9FgpIrIZs14ylxuSuV+8
6hd93DyXJEaQIUO4hY3Fih4z
-----END PRIVATE KEY-----
147 changes: 147 additions & 0 deletions tests/executors/certs/tls-cert-chain.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
Certificate:
Data:
Version: 1 (0x0)
Serial Number:
19:fb:f4:04:67:ac:20:77:d3:51:ee:8a:c1:6c:12:ab:85:be:be:9a
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=XY, O=Dask CA, CN=our-ca-server
Validity
Not Before: Mar 6 18:14:02 2022 GMT
Not After : Oct 29 18:14:02 3007 GMT
Subject: C=XY, L=Dask-distributed, O=Dask, CN=localhost
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:b0:1a:3d:8d:7d:49:e1:b9:d2:e6:b4:fe:f6:7a:
c6:7c:a1:e1:c2:95:0c:29:b3:38:76:7e:e0:3b:6b:
47:a6:b4:35:64:2f:d1:e3:d8:e5:db:25:47:e0:bb:
2f:e4:bd:09:77:d9:70:75:31:54:be:89:9a:ba:f6:
2a:96:0b:01:de:d7:21:4f:ef:6c:06:72:cc:e0:13:
fb:c6:61:0f:5a:24:15:8d:04:a4:7b:9b:94:d5:df:
bb:5e:b1:30:83:df:de:3e:02:1c:56:52:30:f2:ca:
f2:f5:99:62:33:e0:80:6a:96:06:30:d2:3c:5e:0b:
51:06:55:5b:47:90:81:45:c1:f7:bd:f0:f2:04:f2:
28:10:a6:28:fb:e8:ab:8d:cf:b4:02:50:0f:2e:43:
6d:cf:94:58:17:85:e1:67:4a:0a:1b:cd:04:6b:b9:
43:3c:ad:64:93:e6:ae:85:bd:f9:14:0c:ce:61:31:
b6:35:3d:17:d8:9c:9e:86:8a:6f:96:58:d1:c5:db:
69:ef:44:1d:cd:92:61:ba:5e:fc:54:c1:6d:31:5c:
5c:69:a6:a0:b7:04:a3:cb:ed:de:24:ae:a7:60:22:
a2:a5:c8:8d:5d:c2:4b:2c:e1:1f:47:d1:66:bf:e9:
e4:09:e2:15:27:71:ca:bd:b8:79:75:c6:58:fe:00:
d5:77
Exponent: 65537 (0x10001)
Signature Algorithm: sha256WithRSAEncryption
71:60:0b:9d:cd:22:c7:bb:f3:51:6b:83:63:1d:d7:b0:d7:82:
7d:b9:ae:01:f5:48:23:0a:56:80:d5:a1:4c:64:d0:49:d8:df:
6f:ae:05:ea:72:8d:3c:bb:7e:11:f0:c6:6c:99:5f:61:ee:9e:
89:0a:ad:b6:74:cb:b2:a2:94:ca:ab:ed:2e:1b:82:2f:01:4c:
1c:19:67:00:ec:6a:ba:64:c1:6d:33:23:db:f4:0e:d7:ad:43:
aa:22:7d:3f:b6:6f:e7:82:75:15:4b:44:49:42:a2:99:4d:5f:
5a:46:64:2b:eb:6d:00:56:eb:a0:b1:04:ba:35:22:b4:22:21:
60:f9:51:97:71:2e:40:61:79:e0:35:28:46:8c:bc:1b:ed:c2:
28:6c:2f:de:95:80:70:0e:16:c1:bb:86:41:9f:d5:da:a2:2a:
b3:bb:b6:2a:c4:2d:de:f6:58:d5:2f:89:3f:ed:80:59:cd:4b:
40:a5:da:14:9f:77:97:70:23:3a:54:78:ea:e8:be:65:a2:c0:
18:de:28:c6:b4:c2:7a:bc:21:b8:48:ba:7f:e4:46:1b:98:57:
58:04:11:8d:0f:e4:3e:b7:f4:05:15:e7:e6:7d:b4:51:c8:9c:
b5:a3:52:9e:ab:49:88:78:27:fa:d9:62:88:8f:68:2f:7b:48:
39:24:c8:00
-----BEGIN CERTIF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ERTIFICATE-----
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
19:fb:f4:04:67:ac:20:77:d3:51:ee:8a:c1:6c:12:ab:85:be:be:99
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=XY, O=Dask CA, CN=our-ca-server
Validity
Not Before: Mar 6 18:14:02 2022 GMT
Not After : Mar 6 18:14:02 3022 GMT
Subject: C=XY, O=Dask CA, CN=our-ca-server
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:c1:88:fb:ce:09:06:21:65:69:9f:7b:9e:fc:5c:
95:1a:c4:32:9a:ce:35:5d:df:e1:23:7f:d9:95:12:
ec:a7:3c:83:2e:5d:57:3c:25:42:ea:38:33:6d:1c:
46:50:de:b8:4e:6b:a3:6f:ad:fb:69:5e:f5:88:b0:
54:7e:73:f6:9c:16:08:04:8f:67:4c:86:93:76:ff:
85:79:81:fe:b4:56:97:04:cc:73:78:e7:c2:86:b7:
b7:88:a5:98:f9:6b:f0:ad:de:c5:7f:2c:ae:aa:32:
7e:e2:f9:73:31:b5:aa:d4:69:08:be:13:62:e3:14:
ea:40:ff:23:f9:23:4a:39:af:4e:dd:dc:de:c4:76:
33:1a:fc:3b:03:ef:8e:54:6b:70:6d:50:1c:c7:f9:
98:5f:30:6e:f2:f4:3f:68:d5:01:3b:cb:fe:7f:aa:
53:65:38:4c:b6:a3:bf:21:33:66:6f:5e:fe:1b:9d:
01:0f:15:7d:fc:20:2e:4d:f1:97:06:26:79:20:48:
01:32:4b:77:1a:d3:68:e2:dd:56:e2:dd:c8:27:05:
ee:9e:08:70:52:6d:47:65:df:c9:ef:07:8a:0c:69:
09:d8:44:84:86:c6:c3:e8:1e:d9:53:61:3b:45:d4:
22:34:7c:9d:0c:58:02:cb:95:5a:a2:c3:6e:28:67:
6d:3f
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
A6:91:AE:DC:C0:AF:AD:95:82:0F:32:58:28:A2:0D:AB:F2:CA:62:63
X509v3 Authority Key Identifier:
keyid:A6:91:AE:DC:C0:AF:AD:95:82:0F:32:58:28:A2:0D:AB:F2:CA:62:63

X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha256WithRSAEncryption
4f:37:dc:5c:e7:38:da:6e:4f:b4:ac:76:80:46:ce:c5:fe:d9:
0d:58:8e:20:f1:7a:40:75:8e:7d:63:2c:67:49:4a:aa:e8:7c:
09:37:8d:e6:db:0d:5c:b3:f3:8f:93:b7:e6:9b:e7:0b:1a:22:
d8:a9:6d:44:8b:96:51:00:7b:3e:27:83:28:15:c6:b8:76:d8:
50:56:69:97:e8:1e:7a:00:72:65:8f:4f:da:a3:d0:32:3a:6c:
56:70:ed:48:8a:e8:87:e0:77:33:13:f6:72:9c:02:37:42:39:
e7:cc:47:3d:14:c9:4e:6f:2a:f3:c7:37:62:9f:4b:d7:76:57:
6b:95:51:c9:a3:29:f6:00:0b:2d:93:4c:7b:b9:1e:d6:a2:c4:
58:7d:fb:bb:20:c8:8d:bd:ad:e8:14:97:05:a5:03:5b:55:f3:
c3:ef:33:d3:eb:3c:24:97:7e:32:85:f3:42:00:c1:10:21:28:
1f:bc:0c:52:13:cb:91:34:f7:e6:32:e5:36:40:92:35:59:98:
4f:17:86:5c:02:88:c3:d6:f4:8f:1f:fc:c2:ef:1f:23:51:f1:
f5:01:54:ba:45:d8:57:1b:ad:40:70:87:5e:76:3d:53:ad:02:
be:3c:49:48:64:c8:67:5e:d9:de:16:c9:eb:16:97:ee:9b:55:
a6:f0:44:2b
-----BEGIN CERTIFICATE-----
MIIDTjCCAjagAwIBAgIUGfv0BGesIHfTUe6KwWwSq4W+vpkwDQYJKoZIhvcNAQEL
BQAwNzELMAkGA1UEBhMCWFkxEDAOBgNVBAoMB0Rhc2sgQ0ExFjAUBgNVBAMMDW91
ci1jYS1zZXJ2ZXIwIBcNMjIwMzA2MTgxNDAyWhgPMzAyMjAzMDYxODE0MDJaMDcx
CzAJBgNVBAYTAlhZMRAwDgYDVQQKDAdEYXNrIENBMRYwFAYDVQQDDA1vdXItY2Et
c2VydmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwYj7zgkGIWVp
n3ue/FyVGsQyms41Xd/hI3/ZlRLspzyDLl1XPCVC6jgzbRxGUN64Tmujb637aV71
iLBUfnP2nBYIBI9nTIaTdv+FeYH+tFaXBMxzeOfChre3iKWY+Wvwrd7FfyyuqjJ+
4vlzMbWq1GkIvhNi4xTqQP8j+SNKOa9O3dzexHYzGvw7A++OVGtwbVAcx/mYXzBu
8vQ/aNUBO8v+f6pTZThMtqO/ITNmb17+G50BDxV9/CAuTfGXBiZ5IEgBMkt3GtNo
4t1W4t3IJwXunghwUm1HZd/J7weKDGkJ2ESEhsbD6B7ZU2E7RdQiNHydDFgCy5Va
osNuKGdtPwIDAQABo1AwTjAdBgNVHQ4EFgQUppGu3MCvrZWCDzJYKKINq/LKYmMw
HwYDVR0jBBgwFoAUppGu3MCvrZWCDzJYKKINq/LKYmMwDAYDVR0TBAUwAwEB/zAN
BgkqhkiG9w0BAQsFAAOCAQEATzfcXOc42m5PtKx2gEbOxf7ZDViOIPF6QHWOfWMs
Z0lKquh8CTeN5tsNXLPzj5O35pvnCxoi2KltRIuWUQB7PieDKBXGuHbYUFZpl+ge
egByZY9P2qPQMjpsVnDtSIroh+B3MxP2cpwCN0I558xHPRTJTm8q88c3Yp9L13ZX
a5VRyaMp9gALLZNMe7ke1qLEWH37uyDIjb2t6BSXBaUDW1Xzw+8z0+s8JJd+MoXz
QgDBECEoH7wMUhPLkTT35jLlNkCSNVmYTxeGXAKIw9b0jx/8wu8fI1Hx9QFUukXY
VxutQHCHXnY9U60CvjxJSGTIZ17Z3hbJ6xaX7ptVpvBEKw==
-----END CERTIFICATE-----
69 changes: 69 additions & 0 deletions tests/executors/certs/tls-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
Certificate:
Data:
Version: 1 (0x0)
Serial Number:
19:fb:f4:04:67:ac:20:77:d3:51:ee:8a:c1:6c:12:ab:85:be:be:9a
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=XY, O=Dask CA, CN=our-ca-server
Validity
Not Before: Mar 6 18:14:02 2022 GMT
Not After : Oct 29 18:14:02 3007 GMT
Subject: C=XY, L=Dask-distributed, O=Dask, CN=localhost
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:b0:1a:3d:8d:7d:49:e1:b9:d2:e6:b4:fe:f6:7a:
c6:7c:a1:e1:c2:95:0c:29:b3:38:76:7e:e0:3b:6b:
47:a6:b4:35:64:2f:d1:e3:d8:e5:db:25:47:e0:bb:
2f:e4:bd:09:77:d9:70:75:31:54:be:89:9a:ba:f6:
2a:96:0b:01:de:d7:21:4f:ef:6c:06:72:cc:e0:13:
fb:c6:61:0f:5a:24:15:8d:04:a4:7b:9b:94:d5:df:
bb:5e:b1:30:83:df:de:3e:02:1c:56:52:30:f2:ca:
f2:f5:99:62:33:e0:80:6a:96:06:30:d2:3c:5e:0b:
51:06:55:5b:47:90:81:45:c1:f7:bd:f0:f2:04:f2:
28:10:a6:28:fb:e8:ab:8d:cf:b4:02:50:0f:2e:43:
6d:cf:94:58:17:85:e1:67:4a:0a:1b:cd:04:6b:b9:
43:3c:ad:64:93:e6:ae:85:bd:f9:14:0c:ce:61:31:
b6:35:3d:17:d8:9c:9e:86:8a:6f:96:58:d1:c5:db:
69:ef:44:1d:cd:92:61:ba:5e:fc:54:c1:6d:31:5c:
5c:69:a6:a0:b7:04:a3:cb:ed:de:24:ae:a7:60:22:
a2:a5:c8:8d:5d:c2:4b:2c:e1:1f:47:d1:66:bf:e9:
e4:09:e2:15:27:71:ca:bd:b8:79:75:c6:58:fe:00:
d5:77
Exponent: 65537 (0x10001)
Signature Algorithm: sha256WithRSAEncryption
71:60:0b:9d:cd:22:c7:bb:f3:51:6b:83:63:1d:d7:b0:d7:82:
7d:b9:ae:01:f5:48:23:0a:56:80:d5:a1:4c:64:d0:49:d8:df:
6f:ae:05:ea:72:8d:3c:bb:7e:11:f0:c6:6c:99:5f:61:ee:9e:
89:0a:ad:b6:74:cb:b2:a2:94:ca:ab:ed:2e:1b:82:2f:01:4c:
1c:19:67:00:ec:6a:ba:64:c1:6d:33:23:db:f4:0e:d7:ad:43:
aa:22:7d:3f:b6:6f:e7:82:75:15:4b:44:49:42:a2:99:4d:5f:
5a:46:64:2b:eb:6d:00:56:eb:a0:b1:04:ba:35:22:b4:22:21:
60:f9:51:97:71:2e:40:61:79:e0:35:28:46:8c:bc:1b:ed:c2:
28:6c:2f:de:95:80:70:0e:16:c1:bb:86:41:9f:d5:da:a2:2a:
b3:bb:b6:2a:c4:2d:de:f6:58:d5:2f:89:3f:ed:80:59:cd:4b:
40:a5:da:14:9f:77:97:70:23:3a:54:78:ea:e8:be:65:a2:c0:
18:de:28:c6:b4:c2:7a:bc:21:b8:48:ba:7f:e4:46:1b:98:57:
58:04:11:8d:0f:e4:3e:b7:f4:05:15:e7:e6:7d:b4:51:c8:9c:
b5:a3:52:9e:ab:49:88:78:27:fa:d9:62:88:8f:68:2f:7b:48:
39:24:c8:00
-----BEGIN CERTIFICATE-----
MIIDCzCCAfMCFBn79ARnrCB301HuisFsEquFvr6aMA0GCSqGSIb3DQEBCwUAMDcx
CzAJBgNVBAYTAlhZMRAwDgYDVQQKDAdEYXNrIENBMRYwFAYDVQQDDA1vdXItY2Et
c2VydmVyMCAXDTIyMDMwNjE4MTQwMloYDzMwMDcxMDI5MTgxNDAyWjBLMQswCQYD
VQQGEwJYWTEZMBcGA1UEBwwQRGFzay1kaXN0cmlidXRlZDENMAsGA1UECgwERGFz
azESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAsBo9jX1J4bnS5rT+9nrGfKHhwpUMKbM4dn7gO2tHprQ1ZC/R49jl2yVH
4Lsv5L0Jd9lwdTFUvomauvYqlgsB3tchT+9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