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/server-cert.pem
Sebastiaan van Stijn ab9a92f79c
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>
(cherry picked from commit fe54215fb3)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-15 22:24:21 +02:00

86 lines
4.8 KiB
Text

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 2 (0x2)
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=server/name=moby/emailAddress=moby@example.org
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:f2:23:b2:a3:22:03:a2:0b:cd:71:de:19:29:14:
92:7f:e8:9d:30:7f:e3:0e:13:da:de:f9:9b:5a:65:
ec:22:c5:ce:73:e7:2f:c2:ae:c3:04:eb:72:43:77:
87:46:d2:63:e2:3a:08:85:9f:58:1f:fc:f3:82:4f:
5e:4e:5a:92:0f:ac:a1:16:a0:7e:92:a3:8e:aa:93:
fd:4c:e0:ed:f0:96:09:43:b8:e6:ec:72:1b:aa:aa:
76:3f:79:00:89:26:c4:2f:ff:99:01:95:f2:8e:39:
a0:4f:13:63:bf:6b:6c:40:0f:7c:ed:ee:a8:2b:90:
11:94:d8:a9:15:c1:91:40:89:13:eb:49:ec:0d:fe:
4f:cd:41:8f:a6:e0:ab:15:db:45:86:28:23:79:98:
42:bb:52:a8:96:c3:aa:91:df:5a:67:24:09:4b:2e:
ce:9a:ba:fc:97:4e:89:5e:c3:18:08:4e:31:e4:1c:
b6:65:c2:7e:93:ef:52:e7:92:ee:25:88:07:4a:d5:
3d:86:44:31:07:e5:1a:f5:63:dc:c3:11:b5:4d:10:
a0:9c:6a:99:7a:d9:b4:22:07:97:e2:f4:0e:5a:10:
bc:90:09:c1:0f:5a:65:e8:f3:9c:e0:e2:04:29:24:
ee:a7:ee:aa:fa:02:7f:80:ac:9d:ca:9f:0f:8d:f5:
c5:b3
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
X509v3 Subject Key Identifier:
82:DD:B4:72:E4:DB:12:4E:9A:3B:45:75:F0:1B:4E:7F:43:2C:10:BF
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 Server 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
1e:a5:f6:ed:f9:8b:a4:c8:1d:11:e3:03:3b:ec:6a:a2:59:44:
35:d1:28:0a:0e:b5:84:3c:17:3b:38:6f:e5:8c:03:4c:70:13:
b8:cf:40:3c:4a:5d:bf:96:a6:ca:26:9d:ce:00:13:10:a9:eb:
91:b4:50:98:a2:68:6f:6b:95:54:46:39:97:74:d6:fd:bb:54:
f4:27:91:b7:4e:9f:bc:85:5f:51:69:59:87:86:7e:1d:06:10:
74:f5:c3:e3:81:09:e6:77:f5:b7:ed:ae:1c:b0:56:2e:8d:31:
60:ff:ef:f5:ab:03:fb:da:9a:69:d8:8a:ca:e7:00:99:d5:9f:
39:f7:d5:19:4c:57:a1:90:23:c8:21:a3:9b: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