1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration/testdata/https/client-cert.pem
Sebastiaan van Stijn fe54215fb3
Update test certificates
Updates the certificates to account for current versions of Go expecting
SANs to be used instead of the Common Name field:

    FAIL: s390x.integration.plugin.authz TestAuthZPluginTLS (0.53s)
    [2020-07-26T09:36:58.638Z]     authz_plugin_test.go:132: assertion failed:
        error is not nil: error during connect: Get "https://localhost:4271/v1.41/version":
        x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-18 09:43:21 +02:00

86 lines
4.8 KiB
Text

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 3 (0x3)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=US, ST=CA, L=SanFrancisco, O=Moby-project, OU=ci, CN=moby-ci/name=moby/emailAddress=moby@example.org
Validity
Not Before: May 17 19:49:34 2021 GMT
Not After : May 17 19:49:34 2031 GMT
Subject: C=US, ST=CA, L=SanFrancisco, O=Moby-project, OU=ci, CN=client/name=moby/emailAddress=moby@example.org
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:e3:20:9f:c9:63:fe:29:a9:0e:21:e0:4d:4c:42:
cb:cc:9f:29:8c:73:5d:f7:88:bd:81:62:1f:b2:a3:
95:4d:3a:58:28:af:f0:3e:aa:a7:c2:c6:52:b9:94:
9f:6b:58:d6:9a:08:b4:5f:60:fb:f1:ea:e7:49:8d:
46:35:e2:e9:82:9f:20:44:41:82:a7:fa:ab:82:1b:
03:7f:f0:4e:78:38:37:20:9d:67:43:c0:e2:8f:09:
07:3f:7f:96:13:7a:64:c5:90:13:87:71:6d:ed:e7:
28:3a:05:48:eb:d6:e6:27:da:46:f9:a4:5c:66:49:
56:5f:88:87:4e:0a:8b:fe:ea:05:a6:c1:72:b9:94:
d5:8e:d4:9a:18:58:ac:56:1b:34:3e:c3:50:06:5d:
f3:3d:85:93:2c:8b:3f:33:e6:32:14:92:9e:fd:fc:
5d:8a:71:1b:20:67:43:e0:72:fc:4e:31:c6:b7:03:
98:99:e7:95:ef:7c:5a:30:cf:c1:a4:43:42:fb:be:
1b:a7:08:d5:e0:b5:b2:10:ff:0f:e1:0d:ee:3e:b2:
04:05:86:1e:72:a9:d6:16:84:37:73:28:5d:d9:3c:
fd:f3:99:18:dc:90:83:59:23:90:bc:25:33:0f:23:
48:9d:d2:97:a0:ac:94:4f:8e:31:22:cc:74:83:f7:
31:9d
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
X509v3 Subject Key Identifier:
23:1C:5A:99:1A:2B:BC:FD:39:97:8D:1F:5A:49:BF:4F:33:0F:26:C1
X509v3 Authority Key Identifier:
keyid:85:57:D0:FF:A9:B4:1E:1F:80:33:FB:B8:34:ED:7D:06:39:CD:34:98
X509v3 Extended Key Usage:
TLS Web Client Authentication
X509v3 Subject Alternative Name:
DNS:*, DNS:localhost, IP Address:127.0.0.1, IP Address:0:0:0:0:0:0:0:1
Signature Algorithm: sha256WithRSAEncryption
4d:79:c0:07:ac:13:51:00:5c:4b:70:6d:9f:bf:87:c8:ac:31:
c9:37:5e:4e:4c:9f:c6:cd:a4:e3:df:72:b5:06:28:9d:f6:3e:
32:b5:01:81:43:78:6d:93:b2:b2:0a:0b:95:64:f2:25:a4:5e:
d1:4b:b1:11:5c:54:17:21:a7:f7:e6:73:af:f2:53:54:b3:69:
40:8c:26:5b:1b:a7:63:07:26:c4:d2:c4:7a:64:b3:ab:f1:23:
fa:58:9c:b2:b7:17:35:34:91:dd:84:bb:b0:ee:a6:cd:78:cf:
32:39:d8:5f:23:ad:62:ef:82:38:88:cd:34:1b:7d:3b:02:a8:
75:70:72:50:33:44:a4:65:01:14:ef:78:46:3b:27:4e:82:e6:
01:1b:5c:65:97:2c:08:f7:4f:e6:ee:dd:1c:40:0c:48:59:33:
5e:c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