1# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# These certificate trees are for testing only in sealed containers 6# so it is okay that we have them checked into a GIT repository. 7# Nobody will ever use this information on the open air. 8 9# These are the paths used by install_client_auth_data in site_wifitest. 10server_ca_cert_1_install_path = "/tmp/hostapd_ca_cert" 11server_cert_1_install_path = "/tmp/hostapd_server_cert" 12server_key_1_install_path = "/tmp/hostapd_private_key" 13server_expired_cert_install_path = "/tmp/hostapd_expired_server_cert" 14server_expired_key_install_path = "/tmp/hostapd_expired_server_key" 15client_ca_cert_1_install_path = "/tmp/ca-cert.pem" 16client_cert_1_install_path = "/tmp/pkg-client-cert.pem" 17client_key_1_install_path = "/tmp/pkg-client-key.pem" 18client_ca_cert_2_install_path = "/tmp/ca-cert-other.pem" 19client_cert_2_install_path = "/tmp/pkg-client-cert-other.pem" 20client_key_2_install_path = "/tmp/pkg-client-key-other.pem" 21# These are the key/cert identifiers used when we need the TPM. 22ca_cert_1_tpm_key_id = "8711" 23cert_1_tpm_key_id = "8712" 24key_1_tpm_key_id = "8713" 25ca_cert_2_tpm_key_id = "8714" 26cert_2_tpm_key_id = "8715" 27key_2_tpm_key_id = "8716" 28 29cert_1_nss_cert_id = "nss-ca-cert" 30nss_cert_db_path = "/home/chronos/user/.pki/nssdb" 31nss_cert_db_user = "chronos" 32 33auth_pin = "1234" 34# These are the subject alternative names in server_cert_3. 35server_cert_3_altsubject_match = [{ 36 "Type": "DNS", 37 "Value": "www.example.com", 38}, { 39 "Type": "DNS", 40 "Value": "mail.example.com", 41}, { 42 "Type": "EMAIL", 43 "Value": "example@domain.com", 44}] 45 46ca_cert_1 = """-----BEGIN CERTIFICATE----- 47MIIDRjCCAq+gAwIBAgIJANn/MIB1esFIMA0GCSqGSIb3DQEBBQUAMG8xCzAJBgNV 48BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBW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4eCMMHmLqzE/nHd4q 84pxz4sQZ6D7aCxsTstVWfXDAWvzRxXO/QY57FTXn7F7e3lA9CP+igfOWbxaRoYiCG 85cJAaaSpwUE0GWzPP8zTm6f1NtolffQ5QmUE/Wzn6YLD03S+6TLyS4BlaZRu4kFVF 86uUsuMKk= 87-----END CERTIFICATE----- 88""" 89server_private_key_1 = """-----BEGIN RSA PRIVATE KEY----- 90MIICXQIBAAKBgQCj6gG9SteKT0l42zDxsqUs7l7T/9fvqClv4MAR38v/Pg9bZUwh 91EJNvahL9jM+PCVdYiO84VVfvYBK0uW/hJ+/cn5AsjFbdf8hLK16H59WgUne1+W3E 92CcJ15KM7yRnslsqx8AJwrxyaLctoALqgzhdlhQ0V60wv3W8NJ94/lsx97QIDAQAB 93AoGAJYbBdzDXP9b/HygvgGZB4pOAKlD8guWg9vghgPYXogv3QBlk4H0HBA7o4huG 94uVyOHrra6a7APxFjtvRtZMLb6uzJqQ0EccwEcHLtSG7rNNlFsylwgMpcwhWrcz/D 95nHQo1Pt8Ij0a6byqCYAsct9F/EPq2WM7FK+0Y6wjiHp9+BECQQDWG+QYE06lDLzo 9689kbwPLYHB2G9oDmWvqeajIWXqpb2snHVgphJppEDHx0IDby4uJMxkftqlka1DFC 97icx3XKLfAkEAw/v/c2td+wtUiDSSm2z+wPOT0ifrY99i77nOm8BOLXhiYvBHBo2q 984fgkxaApo6Lg0wLOkcqnJLpVByBdlwjkswJBALMelDzb8iA8PtI4JjqEueS36K/f 99C0krdZ0PxKVYPvcnW0UrIvXRoJ8rPva7eJzL2HxYKRaYO4EpYaiDtY1p70sCQQCY 100CK0qRGgrj6aL4vy4Rd16oXpS1VTtrSV7ApEckhoTfAgW6H6wvsWJdo5QIOcsYfY2 101uz60KplvDH1ZgeoYeHWxAkBptmY574GnuAW1Jw1G6xWwka6yLs68PfQgslHZiYT7 102eOiTwkwmWD7oFjqWUYO1Pw7ipktE1uFPd4KUtwcMbid9 103-----END RSA PRIVATE KEY----- 104""" 105client_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Vc1zW4eHuFrsdMXCTMXJMz+9 122eRhmlCEFR4VpbDuvJfju7M53wE8QzDcQmiYgvWlyz0ZT/j1E8LspB4pj6YKDQKZ2 1236yZSnAYZ09h5yo5S9PfRq1HMWQcmE+rh7LNc+dpC/ms= 124-----END CERTIFICATE----- 125""" 126client_private_key_1 = """-----BEGIN RSA PRIVATE KEY----- 127MIICXgIBAAKBgQDhiSttz+D35dra+CRFy4endznNupaA4QDuLBTnirYgj01aTM2b 1287dT/egRYK2FL0cdhbrUUmuIvTGEq5LRHoht2PhXiAeMqtoEU0eVIQRQSa/DdFGHU 129Kxwuik3tBUkM11oy0YIEH01zjUpn38b6AM7sTaaFtkOzIJjJ5E6U/B9tUwIDAQAB 130AoGAR5nKpdQnMcxRTM8WhOn2qR3axguEmGnWZ8aq5E9PPsr/3bkgVW6N/oV4N52e 131B/oTeEUzS9VYFXgEKR/udAds++ZhF/WvUa7ZV/EINSfZdnvy9xnrDBfVHYZ5heuF 132REiEnmW2euxE1p1QJZ/GsQ4XJWibT7E/EDQHZbhLmgGRMIECQQD2HjsHA84Ypu/k 133qmcx3yrisnaI3JgD+i5yjqlpDkT57AO9ZvXrBUa4Djacn8Dkrii7aD0eUODQlmH0 134oMJAk5xhAkEA6pdhZxvOuSFNOv2HQ1gQyW3OzKghH0SVOVlhhWczesoPWrh90XU/ 135I8A0UI+TnAoUzmbVl5g+xb2Hzsk7rC0GMwJBAKDOd7rJnas1x6AcRnirW5XrDM+3 136cguHNznaRI5DqIWy0265CwyX0fEIOF51cs73i92G6ggYyAsBdtcjAki3KYECQQDZ 137RDSwwx9VdJNLlC1nYLPDapDCGOD8TY+LGs3oOKmEConn8sCMcnN0z/ljt2X1eZzF 138gJZHnXhduWiDSvqaPuTjAkEAyNK5BJk39bk33mjo3DhuBHy0qQRgx10pyhQhgdel 139iiWhSc9MaRwxDbYKxVoRhdqLhfGsufNVcPyTnF9nfdxRnQ== 140-----END RSA PRIVATE KEY----- 141""" 142 143# The following certs are generated with the same CA as above 144# but are expired. 145server_expired_cert = """-----BEGIN CERTIFICATE----- 146MIIDaTCCAtKgAwIBAgIDEAAEMA0GCSqGSIb3DQEBBAUAMG8xCzAJBgNVBAYTAlVT 147MRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MTMw 148MQYDVQQDEypjaHJvbWVsYWItd2lmaS10ZXN0YmVkLXJvb3QubXR2Lmdvb2dsZS5j 149b20wHhcNOTgwMTAxMTI1OTU5WhcNOTkwMTAxMTI1OTU5WjB5MQswCQYDVQQGEwJV 150UzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzE9 151MDsGA1UEAxM0Y2hyb21lbGFiLXdpZmktdGVzdGJlZC1zZXJ2ZXItZXhwaXJlZC5t 152dHYuZ29vZ2xlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwZF5hp1g 153DkgVv+n8kNQLNTWrjzSyz2qCvsnAiRGDFZ1lVdPUD3JG96HArkbPOLNel28UbMW3 154YNvM5uTdnImmtIggqkHyQ4og3K6xDQhD1mlRXGoLwTPJUTbhyFEmtyj8fyxEMqfk 155q7W6uMXJF93DkTzB4V0U7BcDi76PIV28WMECAwEAAaOCAQcwggEDMAkGA1UdEwQC 156MAAwEQYJYIZIAYb4QgEBBAQDAgZAMB0GA1UdDgQWBBQegh2KuohntZ2UR8fZWzdD 157ezfWIDCBoQYDVR0jBIGZMIGWgBQyZyGNkYvK49JfViPq6cqz+ayUP6FzpHEwbzEL 158MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50 159YWluIFZpZXcxMzAxBgNVBAMTKmNocm9tZWxhYi13aWZpLXRlc3RiZWQtcm9vdC5t 160dHYuZ29vZ2xlLmNvbYIJANn/MIB1esFIMAsGA1UdDwQEAwIFoDATBgNVHSUEDDAK 161BggrBgEFBQcDATANBgkqhkiG9w0BAQQFAAOBgQCMnkl8ceSOF8Efe7vm0mlUnvhR 162i9L2Sh9x0BhlqmivKzbLg2E3tyYdrxdmSAJOdCQ0RVs0a6NIJG9xDNZa8+Ejrvk1 163Vmz5O1wYzuGmdaYv392jzznNH9abwedKZNca+/3ANaeYilBXnF9gLBHfj3wFOi/T 164iSEzDrqtw9WJVGlpCw== 165-----END CERTIFICATE----- 166""" 167server_expired_key = """-----BEGIN RSA PRIVATE KEY----- 168MIICWwIBAAKBgQDBkXmGnWAOSBW/6fyQ1As1NauPNLLPaoK+ycCJEYMVnWVV09QP 169ckb3ocCuRs84s16XbxRsxbdg28zm5N2ciaa0iCCqQfJDiiDcrrENCEPWaVFcagvB 170M8lRNuHIUSa3KPx/LEQyp+Srtbq4xckX3cORPMHhXRTsFwOLvo8hXbxYwQIDAQAB 171AoGAbZwqG89MEGpDXqxqJ7zbJ+NfZbVqt8dRiCYIz9VJzFiXhHVyNNj6VMmUqVtR 172hoMTwl7VSw7e24s7yVe6IiVUbxOYGOMSOZ4sWS5c8j1xTiz1svusgplzd4FadpmB 1732HOu4eQ8fSuFc4Xu5aPba8faXZEqpAOWoGB0M1gEJN73AI0CQQDuwmmmDdUoRNa9 174P4bnOXWestO91LhgPnVwekmUfTTHrWplDzTIwI2gppdJM/Pq0vqynZC6H4LDnhvg 1758enPNaZLAkEAz4uuRphRfWBwZ8nbwszVs2TRG7+8FXfhvH+nKSeDNg4DXcBP9Bt+ 176knGuOdW+qthvORRS2zBEbvpu4LN/wnwFowJANygqh/YCHD9q7GVUoO4hQfxF9kDC 177J1nGf6mAfhE+tDJXtekBZK83CLnzkTGzU7hRuhm0aYsGBnLsNdctEHVwaQJAQDBW 178JRVE1r715NOkeRn62fHLToa9N/KMyUy9uVe0GAq7dcpdsAS037vzA4Yc4x/vPjsP 1796SSDdcNUeYBqeg77ewJAc9OG/qtZNwpEpQZXEloPeDQcVv1CP0ubwfuqBTXoG7KY 180VZEVdOeKhQp5dAPlMphUhwogI5LJUBBCP72QK7T+Ig== 181-----END RSA PRIVATE KEY----- 182""" 183 184# The following certs are generated with a different CA (both 185# the private key and the Common Name of the CA are different) 186ca_cert_2 = """-----BEGIN CERTIFICATE----- 187MIIDOjCCAqOgAwIBAgIJAMMPy9yYn8UZMA0GCSqGSIb3DQEBBQUAMGsxCzAJBgNV 188BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBW 189aWV3MS8wLQYDVQQDEyZub3QtY2hyb21lbGFiLWNlcnQtcm9vdC5tdHYuZ29vZ2xl 190LmNvbTAeFw0xMTAzMTYwMDExMzFaFw0yMTAzMTMwMDExMzFaMGsxCzAJBgNVBAYT 191AlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3 192MS8wLQYDVQQDEyZub3QtY2hyb21lbGFiLWNlcnQtcm9vdC5tdHYuZ29vZ2xlLmNv 193bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvm3+VEApDTqXVTjGedO7KRXu 1945XpjsSUnXPgBjRr3adkEpBs5r86X1csf0V6exKRmLNpDFeacI7OzD2QLtOoO3Dn5 1956Km682voZcsRB1DE8v1C21+KeiibPaOzzjkMyOz+a/JyKjtkxR0a+gAUA/K10eup 1969/OmOrnsVR5hu4Fo5YcCAwEAAaOB5TCB4jAdBgNVHQ4EFgQUevdn8FuR7u26wCbB 197r/+GpMZQwqMwgZ0GA1UdIwSBlTCBkoAUevdn8FuR7u26wCbBr/+GpMZQwqOhb6Rt 198MGsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N 199b3VudGFpbiBWaWV3MS8wLQYDVQQDEyZub3QtY2hyb21lbGFiLWNlcnQtcm9vdC5t 200dHYuZ29vZ2xlLmNvbYIJAMMPy9yYn8UZMAwGA1UdEwQFMAMBAf8wEwYDVR0lBAww 201CgYIKwYBBQUHAwM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WxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MS8wLQYDVQQD 221EyZub3QtY2hyb21lbGFiLWNlcnQtcm9vdC5tdHYuZ29vZ2xlLmNvbYIJAMMPy9yY 222n8UZMAsGA1UdDwQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcDATANBgkqhkiG9w0B 223AQQFAAOBgQAWtVBFEdbyj93qqGRXXJm1Yf9roxYZUDiOnl6us00f2sIAp3cp5Rq5 224kkQj9y5QfBq6ct5mAZQhCXw4enhQ/b0J6zR/Lh7nBaBzDOyT28+L2bM53y1HnCOr 225hyUyhm/WsshH/f63nzyTliIV4cPDX+Od6XUX9E7gFrYxxnm1AQmGZA== 226-----END CERTIFICATE----- 227""" 228server_private_key_2 = """-----BEGIN RSA PRIVATE KEY----- 229MIICXQIBAAKBgQDL7Jh2grPIe+Yoz2moIa84iXUbvnIRtSfYEak46xvvTO+XgduE 230KpsUj6LGGL/uzog5xxkbQ7TrtzEnPpwQCFulQoRC8liD8DDkHIBunOtrYpvvWo6Y 231k+wWlkTjw7AjVk+iIXVe9Cwm7D3aEWlw5qrjBAx+DmFypCAIt20HK02V0wIDAQAB 232AoGALdY5kvHgDWFkI6ozeppPs2qaSykspLROh2+41NVsCwcFF84VlIirIR0EHnjz 233s27zCeGp0AoRAabEwqh9FdF7H6xQ22v8u/mlN6drfI1n6KyyV9UnW46lWL2b40YQ 234MbHIfUKpli979omdPXccCYNzPf8SDy5qepKf6sq773iVEWkCQQD5K3V8W31pB+IU 235dFYS2lzx8SRbBPQuMBVcptiwdi2h5IReA0ldWxGc8sEtKf8djZHe6EB/cfoi5rhE 2362sCvATh1AkEA0YOgl8ByAZq+azAoBnhRJRseAXsRGUV+zTNTNp4vTAGcmuwMSl3v 237Iw1Q4OKUz9Oo71Za62BpoIxo/eXp4oaMJwJBAJI0bPiuWnUhugfUh5kCZl1U6Mc7 238refYMQCvqiBJB9eh1gWwGgFcaYZVbwKITPjTVA+e6hGeGG8YQHGuhjdqGO0CQQC6 239z1Wq2XIN0i9FHawikLcxkatAgL3vPZLhXoks4wCjEbDURfJzgKwQIfhifEVZxY0U 2400nfA9bdY6rlW4eCYFYXzAkAjNAgtfelk9b9nT7JAIodaCXKyoSaID0/etu+NCqlt 241opbkSIzq136j+PzIJX9RLZ0VXiIwM7MtOEvxZCBjAo8M 242-----END RSA PRIVATE KEY----- 243""" 244client_cert_2 = """-----BEGIN CERTIFICATE----- 245MIIDQDCCAqmgAwIBAgIDEAACMA0GCSqGSIb3DQEBBAUAMGsxCzAJBgNVBAYTAlVT 246MRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MS8w 247LQYDVQQDEyZub3QtY2hyb21lbGFiLWNlcnQtcm9vdC5tdHYuZ29vZ2xlLmNvbTAe 248Fw0xMTAzMTYwMDExMzJaFw0yMTAzMTMwMDExMzJaMG0xCzAJBgNVBAYTAlVTMRMw 249EQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MTEwLwYD 250VQQDEyhub3QtY2hyb21lbGFiLWNlcnQtY2xpZW50Lm10di5nb29nbGUuY29tMIGf 251MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDxOl9JFvH8aeNj07pPF6PtENx90Lm9 252uo3XwxwsHEIqfmr3rmbq8a2OerCbVAeCqvFOdswXjfNgraYjQntwzjoTdp23Cvon 253M7vb8mO8vp3xpYb6D6IdzJZjQUnsd5jPWzMEIp7oBj8UTWsxVDGy5QI6SB64O8dn 254tsUaLOdIdqE1QwIDAQABo4HvMIHsMAkGA1UdEwQCMAAwHQYDVR0OBBYEFKnxsjiH 255G/CQ7/E07dODtCVzl25CMIGdBgNVHSMEgZUwgZKAFHr3Z/Bbke7tusAmwa//hqTG 256UMKjoW+kbTBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQG 257A1UEBxMNTW91bnRhaW4gVmlldzEvMC0GA1UEAxMmbm90LWNocm9tZWxhYi1jZXJ0 258LXJvb3QubXR2Lmdvb2dsZS5jb22CCQDDD8vcmJ/FGTALBgNVHQ8EBAMCBaAwEwYD 259VR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcNAQEEBQADgYEAcJGyJvWHLofcMr70 260k8UO5iaiYDgoR7NbsXwo/rAUktDgeInYKA2KJhiQREgSquKWEaCVK5tZkzGla+2G 2617JtT1s6aAH6iLBiqH8Z+ptBJORpd+Dkrggp003g/WZcYSJy9u3iKRiAlXf+C3YqT 262jOsSVKrlZHZlvjDSRl1Fv+ODljk= 263-----END CERTIFICATE----- 264""" 265client_private_key_2 = """-----BEGIN RSA PRIVATE KEY----- 266MIICXgIBAAKBgQDxOl9JFvH8aeNj07pPF6PtENx90Lm9uo3XwxwsHEIqfmr3rmbq 2678a2OerCbVAeCqvFOdswXjfNgraYjQntwzjoTdp23CvonM7vb8mO8vp3xpYb6D6Id 268zJZjQUnsd5jPWzMEIp7oBj8UTWsxVDGy5QI6SB64O8dntsUaLOdIdqE1QwIDAQAB 269AoGACHVdhfiR/6HO4V85NzDDBLsEoDzDZo22D4y93iYXg9nu8kRhQ3e5+DcBHlEx 270+jj4QSIVQfYuRIOSQcZBAdGZY6flibiDyQVa4hYkAZ50q2joXBsO4aVH+vzgS3ER 271hCLAXlIjVH9Hq8zWzXti5mka/afbwu39PegknrCoFbr6c7ECQQD6f7TxViVqWVn+ 27219gKwPPi375ThtNW2wwSOxCFceiEVZX1j4EA6puOQN2EieK4XdBN/S//Lw4c/p2R 273kzsVImy3AkEA9oaLkDoBNsqeWyOmCytuxK8kLr1polV9aRENQZXyLCRiiKu9LWpo 274pevoLTCi8eOa5iTJUqIqNljGb1mUR9pH1QJBAJ5CotG6iGb5TpdoTND2eN9EVp20 275177PI4A9GsIEZk99NwHuiSVIE8E7D/jVmIy8kIdFR9akJvmAj5JSf4hpuF8CQQCW 276mbMAtK6xLi53Ntvkzu+oL+ZGt2ekx90JJmWWv2dmGAQpweCbsfmkAu2fTar9YjHq 277jmZ+mJp5ANqYg3zWOD7RAkEAtIt9Whx/izCLLJKZGY8QaeN1+SCyg2Z5Rw8qiPbB 278fvnf1pvhiHBjmbJLYOPR9hslU4pg0HzRMaDaG10Sp9047A== 279-----END RSA PRIVATE KEY----- 280""" 281dh1024_pem_key_1 = """-----BEGIN DH PARAMETERS----- 282MIGHAoGBAL/YrUzFuA5cPGzhXVqTvDugmPi9CpbWZx2+TCTKxZSjNiVJxcICSnql 283uZtkR3sOAiWn384E4ZQTBrYPUguOuFfbMTRooADhezaG9SXtrE9oeVy9avIO7xQK 284emZydO0bAsRV+eL0XkjGhSyhKoOvSIXaCbJUn7duEsfkICPRLWCrAgEC 285-----END DH PARAMETERS----- 286""" 287# This cert is used for authenticating via ONC. 288client_cert_1_pkcs12 = """ 289MIIHSQIBAzCCBw8GCSqGSIb3DQEHAaCCBwAEggb8MIIG+DCCA/cGCSqGSIb3DQEH 290BqCCA+gwggPkAgEAMIID3QYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIufio 291EUWyVqkCAggAgIIDsPd6DUsZM85GB7g4qGj/nDo1mEP+YVkmB+Da6/P7tku3cOL9 292JCXufSUQ3fXmr0jqyer3wC3eqSYLzpIplLHR3Lyuz4Uh1HzubW1xG0INuFjXL6iA 293tPnC6dkL0ZmULyobLXgLHAhPeXshmM7MflSwVMzUkKZogIHmt0cpThKAXdxrv2mg 294UhN/sadzy3dYfWJk0Nm1fbAR9RNvi+bpJWL0WL4FXnN74DI7mzGbaVFD/IuUW2TM 295Tp/YkwiTZXq1wBXbMMM9lOeX4a/rnaEtjbLETj9mH3BGQUEjam7IV0Oy6GsGCPyH 2960WDZhDoNTqaMrCfIwaWZsW63gY4zCyMwTs06SLYhIncrqx9ZWK4mm5qpEZ7We7kb 297tZbyg9Rq+ms06W2fVTCvgRMTDjSqlM+tmYLZoIkgK1I97ClDk0KLJiI/0cjsx7/b 2989b1D0jqH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TE0MzM1OFowFzEVMBMGA1UEAwwMcm9vdF9jYV9jZXJ0MIIBIjANBgkqhkiG 3339w0BAQEFAAOCAQ8AMIIBCgKCAQEA3YMN/y90E3rMVbtFhaJ1NEpXC8uqUnzHNDFj 334+IYaffyRMTOnbChexln+cVimdO8kivW4Z9v0SSwkpyJ2KZzf77QzrixepbIBwm3w 335MTu7sbyOv8FBsx3/s/Ltg/G0cnl0yUSkXdLUpwRlq9rtLcWpJXQjg0okSDiCSK0C 336OHgwYp2iohctm3DneKI7izWrdaPOHTlXgsp1ylbBLXNgkxxJLyr/Aude2eeDT171 337EsibRWz5IYEApDYg3fR+DouDAUkKnQP0bGKBAW0214j4qdm4JcCtTBZi/jhRUqBC 338r3EExETOAbEhLLIdugn9ct0JcodrIWxVyT8leFhA2FS4kYm6GwIDAQABo2MwYTAP 339BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBTucw3kJa+svUcoHQApEKr2viDiADAf 340BgNVHSMEGDAWgBTucw3kJa+svUcoHQApEKr2viDiADAOBgNVHQ8BAf8EBAMCAQYw 341DQYJKoZIhvcNAQELBQADggEBANUZNNdSMwXmIyD/SiZntYn1fiA7NkTcvuMZc+zl 342m+PINg2qksJR65TzVK/8bQisVuCkbXLwHaPDvky09nCaylmNEEJ7/2Qg/mEhb4r9 3437akiCOeIAxTzVWgIDAgV4tq7YmeJqGYqIJzZFCDU69D2vTDDAvNLo2vaeRroehxZ 34474KMXLT2wWyxF/+3GAxbS5UZOZXDyW1YJclrajGiAlnpeOcv5fvac8JSimmXPc90 345uuIJdjTkHKNcMtb3MpIc+gz83R9BlwjRBeGzBz8/iR87MFG4IYh25+C1QEytjBBi 346xuFgXLz9+gpOUPKh8KV9tFsVcPeZmdhrLT/HchTIn63eKIQ= 347-----END CERTIFICATE----- 348""" 349# The following certificate has been issued by ca_cert_3. 350server_cert_3 = """-----BEGIN CERTIFICATE----- 351MIIDWTCCAkGgAwIBAgIBATANBgkqhkiG9w0BAQsFADAXMRUwE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qn 368swL6SmbH778JGVkaDsD9eK94jvgiGCbkYuQw+71p3DWpV5TGph4eEWoG3M5g 369-----END CERTIFICATE----- 370""" 371server_private_key_3 = """-----BEGIN RSA PRIVATE KEY----- 372MIIEogIBAAKCAQEAzCZ0BxexFTyK1wCx05rFU2+URBjAdPHIGrBKKSoIYpgmH2FA 3731WERCGFRz2UFVi3BXBvl2VzylA9zXRErw2wM1K914kpOF5XLikMJb7axrsm1DDkx 374CyG/zfl3cXaxsFvzOOyasPxTtLM95IpxGMUrEt83zTy3H59lmao1+KSbahaW2TZP 375GCY4aVe44BmouREuBOpruIj/Wfx5wSHFePKzc4lTxIeZ7w/67a6RQlr/LEaBsdss 376FvP9YZhI2z0AoVynFAG8ZdYA7+KdgDKTv15iMdrHoCtTmKodZxzlFzEcb0kvFUOn 377qmfbrH533Z0pb9bHovQiikbSuFIaWmV+Z6TPcQIDAQABAoIBACe1Fv5GKmhSBUM6 378XFwnD1hiLHluQwi7+krOnS4Sgd0DcO7LkLuwDIsPusTXBkmzzpcmyfcUMA6CTtL8 379QwHYo0o+8nPYNgY6WYOD9HLpGvg/PVqqSRK8Nr1OV2AXUQpXaCBbTN89xN4xuskX 3808FV8DBu4lPbzZz7cVvujcqnxAlWIxB9fNayE3FlrgoseFMqEVtYb56rose6wR+ZE 381oM5s1GLWduJWwybgp43EYrGqeOZVAh+rXLxr0Wq17DT1z/l5h3Hkq2W+9cKX6JVm 382Py8A/y82z4pbDNjZ/63q8ZGmcuSq7vN7n+9PqmCBHZZVboZnSb9AVhgt86kdjTpI 383fc+QY9ECgYEA9GO1uw2ykgQUk1yBPQ9b+BxHgm/tvaJFJ5SON5XZD2nC23kx22Xh 384Muz0G75BsMJV9F4+lyQI9BEVl200Qccyj7CVLIRin3xqUM4IXy0X0Dj5evL6zf+L 385Co7GYg59VN62gz6xW3M9+s+cqQIACDDxNapf9xaLTUpMNkIa875DxE0CgYEA1dlZ 386Wt6ZeB5KjtZtBc8pCwrStrKoiOzAXd8gCN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