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----- 187MIICxzCCAjCgAwIBAgIUJE5XXZBXcmCk7JQffAQ2t+WmGdEwDQYJKoZIhvcNAQEF 188BQAwbzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcM 189DU1vdW50YWluIFZpZXcxMzAxBgNVBAMMKmNocm9tZWxhYi13aWZpLXRlc3RiZWQt 190cm9vdC5tdHYuZ29vZ2xlLmNvbTAeFw0yMTAzMTUwNDA5MjNaFw0zMTAzMTMwNDA5 191MjNaMG8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQH 192DA1Nb3VudGFpbiBWaWV3MTMwMQYDVQQDDCpjaHJvbWVsYWItd2lmaS10ZXN0YmVk 193LXJvb3QubXR2Lmdvb2dsZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB 194ALj2BlvARAdemtZZSC04zfbFDIrKGwrd0C+JVcZA7s+s9YetU1q+PBVqfQVx2kJa 195NWkE1Ofksq+BUO4YR8PDD2afwfHAclLC4+mD+EWxflwoECFflQzQAtX1iSSmSb/z 196Woj0axYtpZawjdj1aBP3nOWqi8eTzplcI7m73xfMSSPnAgMBAAGjYDBeMB0GA1Ud 197DgQWBBQDT7/NH1pf9+137heqjOLqJNkZKzAfBgNVHSMEGDAWgBQDT7/NH1pf9+13 1987heqjOLqJNkZKzAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBBjANBgkqhkiG 1999w0BAQUFAAOBgQBU8zITx9H84PQBc0sqpjVGI8HlJrLFhgdf4G1k3ldSAwXYvuhL 200Oftu1WyEuEQEuu8r0QmY8aVBylIJpn/S7YWP11O8/FO2ztWD2MTl0fr1qAdv1AZc 201sIjPdnbvXoyoy4MKJ97M7kIWBvN8vkUbcP8Rtm13dKSyPVNd6Ufc/JAg3g== 202-----END CERTIFICATE----- 203""" 204server_cert_2 = """-----BEGIN CERTIFICATE----- 205MIICxTCCAi6gAwIBAgIBAjANBgkqhkiG9w0BAQsFADBvMQswCQYDVQQGEwJVUzET 206MBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNTW91bnRhaW4gVmlldzEzMDEG 207A1UEAwwqY2hyb21lbGFiLXdpZmktdGVzdGJlZC1yb290Lm10di5nb29nbGUuY29t 208MB4XDTIxMDMxNTA0MDkyM1oXDTMxMDMxMzA0MDkyM1owcTELMAkGA1UEBhMCVVMx 209EzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDU1vdW50YWluIFZpZXcxNTAz 210BgNVBAMMLGNocm9tZWxhYi13aWZpLXRlc3RiZWQtc2VydmVyLm10di5nb29nbGUu 211Y29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGTK8KIl0SgzmR24Z+BSl3 212I/hXasAEBp8lTsL8y2rfWJ62eNsA/Nq2R1UiTijIiVQ9bKyqWnYU6rr+Y2moKrI/ 21344A566B1AOhSHF8X6M490bPzBrbv9mGgm+cN9oHp9ClilHZAauBQt5t7iZAoAYr0 21437p+3NdiH5m81oR6zQc+DwIDAQABo28wbTAdBgNVHQ4EFgQUREgHP7l+/Kyo/WtL 2159Q7f6oc6S/AwHwYDVR0jBBgwFoAUA0+/zR9aX/ftd+4Xqozi6iTZGSswCQYDVR0T 216BAIwADALBgNVHQ8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcN 217AQELBQADgYEAMkf4cfuZsTHP7Xat+gER95S76owtooQ0tUtEgjvye5rHcDIIUWhR 218gmZu+S2uwVIhpXkM67UlqtVrT1GfN5lEkYxQKra6f8xn8tyPcRr0Ko2l6sPuZ6Vr 21991mZvmi58PuxqvL1IqpbcunD/0/aymWu0ELmt7GVeCzW47mLMtsvYxs= 220-----END CERTIFICATE----- 221""" 222server_private_key_2 = """-----BEGIN RSA PRIVATE KEY----- 223MIICWwIBAAKBgQDGTK8KIl0SgzmR24Z+BSl3I/hXasAEBp8lTsL8y2rfWJ62eNsA 224/Nq2R1UiTijIiVQ9bKyqWnYU6rr+Y2moKrI/44A566B1AOhSHF8X6M490bPzBrbv 2259mGgm+cN9oHp9ClilHZAauBQt5t7iZAoAYr037p+3NdiH5m81oR6zQc+DwIDAQAB 226AoGAVuNK3znnZjExjIOQDq/cV2PfcQ5JTHpKSWKVdYb8MRj3kiSqcWhZvPzMhNeS 227bywdSTzQ+2Pf0ZJ4lPaiWRk8OJPfWrF4QdjUc33Lx5kshS602173o+tfawaDOgUi 228s6PRLA5i8fxnNdim44YRi275mq8weAp5K/nAN5IXXU+GpiECQQD4x1F+GtpXxz9+ 229ufaWmyVzTgUiWDM0XHnr9ahnLMTUvMRCdwzcMlkeo5nbNqQzcclidSALugktmrzn 230Jubtmgo9AkEAzA5BCNQh8X9jr4RYukDNmPf46ZXOPWh6L0yAjQtAYT6eZUMO57X4 231dGABhDnoN7+UCT4IB+mehtZfKUAgzyqKOwJAdiKoRxrXTlGWjEYgm7oG2a9V7s41 232WosDdpJMKtpuiZsuE2XXHIVoHo2P1TIoXSmOeQuncQohq59MTvQBOxkn/QJANAM6 233Hob78/O1tCp291rHTUN/5gJyZIK6Ck5kwg7pJSBx/Xu/U961auyB1nNwNq2VjVmL 234cIDjEJmZ/gjDlCrSuwJAaZ8gqOSwOhoeLX4ki7I1eFc/Q/jnb6CFQjZ+Nb38sYDv 235/O79yd2xBUAsL4sNkbukmMFEuK85bhNieUWe7O0B+g== 236-----END RSA PRIVATE KEY----- 237""" 238client_cert_2 = """-----BEGIN CERTIFICATE----- 239MIICxTCCAi6gAwIBAgIBBDANBgkqhkiG9w0BAQsFADBvMQswCQYDVQQGEwJVUzET 240MBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNTW91bnRhaW4gVmlldzEzMDEG 241A1UEAwwqY2hyb21lbGFiLXdpZmktdGVzdGJlZC1yb290Lm10di5nb29nbGUuY29t 242MB4XDTIxMDMxNTA0MDkyM1oXDTMxMDMxMzA0MDkyM1owcTELMAkGA1UEBhMCVVMx 243EzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDU1vdW50YWluIFZpZXcxNTAz 244BgNVBAMMLGNocm9tZWxhYi13aWZpLXRlc3RiZWQtY2xpZW50Lm10di5nb29nbGUu 245Y29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8l/vKjyCiaeFGDg3wsiGb 2467q2Q3nivANib0WD9ks1bgh5BUCrn6N3TSuopP4ComsxcWcJD2BP7oKj8ZAL1LFPd 247UriSXAfN7/kZPyzoSE7S4zQRcsPOLJU6L5NyY0i6MkmRStrZpv+S5vQT6WKr+Xud 248cXw2oWN4tEg0K7PBR0wcCQIDAQABo28wbTAdBgNVHQ4EFgQUagtrm9EKcYNSmUHC 249PVQZDDX5sOMwHwYDVR0jBBgwFoAUA0+/zR9aX/ftd+4Xqozi6iTZGSswCQYDVR0T 250BAIwADALBgNVHQ8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZIhvcN 251AQELBQADgYEAcdKKxc4Zl+of2DULOqk7VsIIdjHfGrivs5fROMeM+oQoAE3iwfuz 2521/QJqh3DnTxHCEa7q5Rn62lhDxLrWJM2RANfKbXL8RWia3Yawi0EhTbteUvssWlx 2535u9ayCfnEOpwmcYx0Klzr9hU1Q4r2qMLBb4u8xiWDUwkY4Y8rfh9/XU= 254-----END CERTIFICATE----- 255""" 256client_private_key_2 = """-----BEGIN RSA PRIVATE KEY----- 257MIICXgIBAAKBgQC8l/vKjyCiaeFGDg3wsiGb7q2Q3nivANib0WD9ks1bgh5BUCrn 2586N3TSuopP4ComsxcWcJD2BP7oKj8ZAL1LFPdUriSXAfN7/kZPyzoSE7S4zQRcsPO 259LJU6L5NyY0i6MkmRStrZpv+S5vQT6WKr+XudcXw2oWN4tEg0K7PBR0wcCQIDAQAB 260AoGAIp8IAyx5QjeLum+UEY6x6s1LIaAlqYLPQPOUCZjsiBL/+N99sOsn5cUH7aCR 261vuIECCQWLJw7NuNMgmDdxiJoFpTlzNbbIwMnALQWxYJaAKvp9R42nO7DqSeOtxls 262D0GSJGtr92cdgqSPI8XeqxK0JqWpTtJNfMTHWD7HeB2cfr0CQQD5vonnOOOQ8DR5 263thdIRU7c/OaxuL192wkswsOw70zS3de42WdjBGJJ4AZoLoVRSXz+ggzFl2xHAXl0 264621RZH4bAkEAwVFSjgt/cPjaUlv+MVl6tMUSXY0i/sOOP4Ztn+BWwv68wAXFA+9o 265Jg1CBP4VejrSd8l9V4YwrfXJM7FOmMGgqwJBANm2E2uA+UiBTY2IglVbLfuRb94f 2666PiM+DuP8Z4NjhAImiSnSOxVhwVViOBLJacOBCut3UpmzVo8289j6GFa1F8CQQCQ 267ONhrKn7ITI+sU/8+1++of0HlU08hW8l68RJF7TstPJiadXN3LRu5D7kKOnjReKLe 268RQ7ixjT5A14413W4lvQDAkEA7KEjzXOB7fMuBXs2PdcVcXzIUTyZFz1EQTf4r1Dh 269icTOSZFRHreNuAmApg6B9s5depqncuR91kCaZFxxgY6ePA== 270-----END RSA PRIVATE KEY----- 271""" 272dh1024_pem_key_1 = """-----BEGIN DH PARAMETERS----- 273MIGHAoGBAL/YrUzFuA5cPGzhXVqTvDugmPi9CpbWZx2+TCTKxZSjNiVJxcICSnql 274uZtkR3sOAiWn384E4ZQTBrYPUguOuFfbMTRooADhezaG9SXtrE9oeVy9avIO7xQK 275emZydO0bAsRV+eL0XkjGhSyhKoOvSIXaCbJUn7duEsfkICPRLWCrAgEC 276-----END DH PARAMETERS----- 277""" 278# This cert is used for authenticating via ONC. 279client_cert_1_pkcs12 = """ 280MIIHSQIBAzCCBw8GCSqGSIb3DQEHAaCCBwAEggb8MIIG+DCCA/cGCSqGSIb3DQEH 281BqCCA+gwggPkAgEAMIID3QYJKoZIhvcNAQcBM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f8EBAMCAQYw 332DQYJKoZIhvcNAQELBQADggEBANUZNNdSMwXmIyD/SiZntYn1fiA7NkTcvuMZc+zl 333m+PINg2qksJR65TzVK/8bQisVuCkbXLwHaPDvky09nCaylmNEEJ7/2Qg/mEhb4r9 3347akiCOeIAxTzVWgIDAgV4tq7YmeJqGYqIJzZFCDU69D2vTDDAvNLo2vaeRroehxZ 33574KMXLT2wWyxF/+3GAxbS5UZOZXDyW1YJclrajGiAlnpeOcv5fvac8JSimmXPc90 336uuIJdjTkHKNcMtb3MpIc+gz83R9BlwjRBeGzBz8/iR87MFG4IYh25+C1QEytjBBi 337xuFgXLz9+gpOUPKh8KV9tFsVcPeZmdhrLT/HchTIn63eKIQ= 338-----END CERTIFICATE----- 339""" 340# The following certificate has been issued by ca_cert_3. 341server_cert_3 = """-----BEGIN CERTIFICATE----- 342MIIDWTCCAkGgAwIBAgIBATANBgkqhkiG9w0BAQsFADAXMRUwEwYDVQQDDAxyb290 343X2NhX2NlcnQwHhcNMTkxMjEyMTQzMzU4WhcNMjkxMjA5MTQzMzU4WjAUMRIwEAYD 344VQQDDAkxMjcuMC4wLjEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDM 345JnQHF7EVPIrXALHTmsVTb5REGMB08cgasEopKghimCYfYUDVYREIYVHPZQVWLcFc 346G+XZXPKUD3NdESvDbAzUr3XiSk4XlcuKQwlvtrGuybUMOTELIb/N+XdxdrGwW/M4 3477Jqw/FO0sz3kinEYxSsS3zfNPLcfn2WZqjX4pJtqFpbZNk8YJjhpV7jgGai5ES4E 3486mu4iP9Z/HnBIcV48rNziVPEh5nvD/rtrpFCWv8sRoGx2ywW8/1hmEjbPQChXKcU 349Abxl1gDv4p2AMpO/XmIx2segK1OYqh1nHOUXMRxvSS8VQ6eqZ9usfnfdnSlv1sei 3509CKKRtK4UhpaZX5npM9xAgMBAAGjgbIwga8wDAYDVR0TAQH/BAIwADAdBgNVHQ4E 351FgQUijvi87fc8UZvEPMO59uScIfp3iowHwYDVR0jBBgwFoAU7nMN5CWvrL1HKB0A 352KRCq9r4g4gAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMEAGA1UdEQQ5 353MDeCD3d3dy5leGFtcGxlLmNvbYIQbWFpbC5leGFtcGxlLmNvbYESZXhhbXBsZUBk 354b21haW4uY29tMA0GCSqGSIb3DQEBCwUAA4IBAQBGqCZm9MR6XV/pu5VIG6Zz1aHe 355O52znWCSn6gwWT6E1EWai7MqZGpo7ToLeSNFLGmER4NrCR7FLC/Y13RXtQSeNvUR 356WuqC7DotSaulHPQPzpgI/xsXRU05jWPIYnu4cdKhaIawqp+ZZsTWcatmLwBWsXKK 357k0wxBfEqqPtew/SEQqa1tpP7dVz5lmeD/xMRpnDB+OJNVhbZNBdRzfplYLUx3H8P 358Dohyj0kefoXcAaoTYTN6a+La9IpyaNSFencdWY1eqY2kxKYbDqVrLJpx9T3bbuqn 359swL6SmbH778JGVkaDsD9eK94jvgiGCbkYuQw+71p3DWpV5TGph4eEWoG3M5g 360-----END CERTIFICATE----- 361""" 362server_private_key_3 = """-----BEGIN RSA PRIVATE KEY----- 363MIIEogIBAAKCAQEAzCZ0BxexFTyK1wCx05rFU2+URBjAdPHIGrBKKSoIYpgmH2FA 3641WERCGFRz2UFVi3BXBvl2VzylA9zXRErw2wM1K914kpOF5XLikMJb7axrsm1DDkx 365CyG/zfl3cXaxsFvzOOyasPxTtLM95IpxGMUrEt83zTy3H59lmao1+KSbahaW2TZP 366GCY4aVe44BmouREuBOpruIj/Wfx5wSHFePKzc4lTxIeZ7w/67a6RQlr/LEaBsdss 367FvP9YZhI2z0AoVynFAG8ZdYA7+KdgDKTv15iMdrHoCtTmKodZxzlFzEcb0kvFUOn 368qmfbrH533Z0pb9bHovQiikbSuFIaWmV+Z6TPcQIDAQABAoIBACe1Fv5GKmhSBUM6 369XFwnD1hiLHluQwi7+krOnS4Sgd0DcO7LkLuwDIsPusTXBkmzzpcmyfcUMA6CT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