chromium/chromeos/components/test/data/onc/managed_toplevel2_with_cert_pems.onc

{
  "NetworkConfigurations": [
    {
      "GUID": "{77db0089-0bc8-4358-929c-123xcv}",
      "Type": "WiFi",
      "Name": "SomeWifi-XY",
      "WiFi": {
        "SSID": "SomeWifi-XY",
        "Security": "WPA-EAP",
        "Recommended": [ "AutoConnect" ],
        "EAP": {
          "Outer": "EAP-TLS",
          "Identity": "${LOGIN_ID}@my.domain.com",
          "UseSystemCAs": true,
          "ClientCertType": "Pattern",
          "ClientCertPattern": {
            "IssuerCAPEMs": [
              "pem1",
              "pem2"
            ],
            "EnrollmentURI": [ "chrome-extension://delkjfjibodjclmdijflfnimdmgdagfk/generate-cert.html" ]
          },
          "Recommended": [ "Identity" ],
          "SaveCredentials": true
        }
      },
      "ProxySettings": {
        "Type": "PAC",
        "PAC": "https://proxycfg.my.domain.com/proxy.dat"
      }
    },
    {
      "GUID": "{a3860e83-f03d-4cb1-bafa-789oij}",
      "Type": "VPN",
      "Name": "SomeVPN-XZ",
      "VPN": {
        "Host": "vpn.my.domain.com",
        "Type": "OpenVPN",
        "OpenVPN": {
          "AuthRetry": "interact",
          "CompLZO": "true",
          "KeyDirection": "1",
          "Port": 543,
          "Proto": "udp",
          "PushPeerInfo": true,
          "Recommended" : [ "Username", "Password" ],
          "RemoteCertEKU": "TLS Web Server Authentication",
          "RemoteCertKU": [
            "e0"
          ],
          "RemoteCertTLS": "server",
          "RenegSec": 0,
          "ServerPollTimeout": 13,
          "StaticChallenge": "Please enter token",
          "TLSAuthContents": "-----BEGIN OpenVPN Static key V1-----\n83f8e7ccd99be189b4663e18615f9166\nd885cdea6c8accb0ebf5be304f0b8081\n5404f2a6574e029815d7a2fb65b83d0c\n676850714c6a56b23415a78e06aad6b1\n34900dd512049598382039e4816cb5ff\n1848532b71af47578c9b4a14b5bca49f\n99e0ae4dae2f4e5eadfea374aeb8fb1e\na6fdf02adc73ea778dfd43d64bf7bc75\n7779d629498f8c2fbfd32812bfdf6df7\n8cebafafef3e5496cb13202274f2768a\n1959bc53d67a70945c4c8c6f34b63327\nfb60dc84990ffec1243461e0b6310f61\ne90aee1f11fb6292d6f5fcd7cd508aab\n50d80f9963589c148cb4b933ec86128d\ned77d3fad6005b62f36369e2319f52bd\n09c6d2e52cce2362a05009dc29b6b39a\n-----END OpenVPN Static key V1-----\n",
          "TLSRemote": "my.domain.com",
          "SaveCredentials": false,
          "ServerCAPEMs": [ "pem1", "pem2" ],
          "Username": "${LOGIN_ID}",
          "ClientCertType": "Pattern",
          "ClientCertPattern": {
            "IssuerCAPEMs": [
              "pem3",
              "pem4"
            ],
            "EnrollmentURI": [ "chrome-extension://deicdjjibodjclmdijflfnimdmgdagfk/keygen-cert.html" ]
          }
        }
      },
      "ProxySettings": {
        "Type": "PAC",
        "PAC": "http://proxycfg.my.domain/proxy.dat"
      }
    }
  ],
  "Certificates": [
    {
      "TrustBits": [],  // Test that the empty array is imported correctly.
      "GUID": "{58ac1967-a0e7-49e9-be68-123abc}",
      "Type": "Authority",
      "X509": "MIIDojCCAwugAwIBAgIJAKGvi5ZgEWDVMA0GCSqGSIb3DQEBBAUAMIGTMRUwEwYDVQQKEwxHb29nbGUsIEluYy4xETAPBgNVBAsTCENocm9tZU9TMSIwIAYJKoZIhvcNAQkBFhNnc3BlbmNlckBnb29nbGUuY29tMRowGAYDVQQHExFNb3VudGFpbiBWaWV3LCBDQTELMAkGA1UECBMCQ0ExCzAJBgNVBAYTAlVTMQ0wCwYDVQQDEwRsbWFvMB4XDTExMDMxNjIzNDcxMFoXDTEyMDMxNTIzNDcxMFowgZMxFTATBgNVBAoTDEdvb2dsZSwgSW5jLjERMA8GA1UECxMIQ2hyb21lT1MxIjAgBgkqhkiG9w0BCQEWE2dzcGVuY2VyQGdvb2dsZS5jb20xGjAYBgNVBAcTEU1vdW50YWluIFZpZXcsIENBMQswCQYDVQQIEwJDQTELMAkGA1UEBhMCVVMxDTALBgNVBAMTBGxtYW8wgZ8wDQYJKoZIhvcNAQEBBQAD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