mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
18215dd9fa
Don't use a fixed buffer for X509_NAME_oneline() in the client. Do as the server does - allocate it dynamically. For a test - regenerate certificates to have the server cert with a long subject.
148 lines
8.6 KiB
Text
148 lines
8.6 KiB
Text
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number: 2 (0x2)
|
|
Signature Algorithm: sha1WithRSAEncryption
|
|
Issuer: CN=cacert, C=FI, ST=Helsinki, L=Helsinki, O=MariaDB
|
|
Validity
|
|
Not Before: Apr 25 14:55:16 2015 GMT
|
|
Not After : Apr 20 14:55:16 2035 GMT
|
|
Subject: C=FI, ST=Helsinki, L=Helsinki, O=MariaDB, CN=server8k
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
Public-Key: (8192 bit)
|
|
Modulus:
|
|
00:e6:24:79:3d:3a:58:6a:12:1c:13:6a:43:d9:c1:
|
|
65:ec:55:c1:4f:7d:fc:f2:a6:56:a5:ab:c5:48:2c:
|
|
ce:9c:9d:47:3d:94:93:d5:3b:a3:d0:09:a8:8f:e0:
|
|
4b:36:a0:95:ae:2d:ad:7f:a2:a3:c5:f6:87:80:4c:
|
|
6a:26:15:47:73:20:47:e1:f8:5f:49:b7:13:20:f7:
|
|
32:9f:db:7d:62:41:1b:60:26:7b:41:26:16:0c:92:
|
|
22:ef:b4:2e:b3:db:90:e9:09:ca:fe:1a:1b:e4:f3:
|
|
78:69:7d:ca:6e:c5:39:4b:46:72:09:51:08:40:78:
|
|
8e:04:2a:23:cb:d5:50:cf:96:dd:56:43:10:1b:d2:
|
|
71:28:8f:10:a9:e4:44:1c:39:8a:06:a7:fa:37:48:
|
|
bd:5a:dd:37:7f:7a:00:cf:84:8a:48:a3:75:a5:67:
|
|
fb:7b:47:2d:26:00:2e:65:ed:63:4e:b7:94:18:3f:
|
|
5a:08:74:54:e5:af:dd:86:1b:34:9b:4c:de:fe:d8:
|
|
69:3d:72:90:c7:5c:83:82:78:ea:ab:06:d4:f1:06:
|
|
20:ad:fd:24:bb:e9:94:e0:c6:32:f5:df:af:b4:14:
|
|
4d:9c:ce:0d:62:3a:3a:2b:11:f9:9e:d7:8e:63:2b:
|
|
57:35:10:7e:d5:44:64:8c:61:9b:4e:f8:e8:a5:fb:
|
|
47:bb:85:33:ea:c6:e0:3d:e2:2c:e8:41:e1:15:e2:
|
|
a7:45:23:df:d0:f9:93:01:97:89:95:77:4d:d5:d4:
|
|
c1:db:61:ca:e2:84:36:9c:01:9b:33:ec:53:83:2f:
|
|
dd:d7:d8:20:c0:6b:4a:73:92:d2:6c:22:a6:a2:68:
|
|
46:8b:aa:3f:aa:fe:47:b7:98:70:fd:ba:59:88:af:
|
|
9f:0d:d7:cb:a0:42:44:f9:f0:54:39:c1:cd:fb:b4:
|
|
e4:c6:d6:7e:1d:f5:ed:b9:1a:0f:d7:e6:a2:ab:a2:
|
|
25:1f:6c:f9:ab:9c:d8:a3:b9:da:32:72:51:6d:61:
|
|
f1:3b:7d:06:2b:3d:43:d5:52:1f:cb:62:14:53:69:
|
|
4d:91:12:22:f0:55:f9:fc:4f:de:ee:e3:fc:fd:40:
|
|
57:50:eb:0e:7a:45:cc:52:0f:24:6f:45:02:72:6b:
|
|
6d:90:94:1c:d4:fb:34:f6:4b:4d:25:17:6f:df:4a:
|
|
64:f8:ad:1e:6e:df:ad:6c:b3:1d:1a:e6:0e:59:7b:
|
|
f8:a7:13:77:78:85:bf:3f:7c:12:d4:8e:34:ff:01:
|
|
90:03:42:85:60:e4:99:d6:19:32:46:41:e8:50:ca:
|
|
2a:03:61:cd:c5:68:f4:92:0f:6e:48:89:41:9e:53:
|
|
bc:41:62:ed:4a:92:64:b5:cb:3d:55:6c:d9:87:87:
|
|
9a:ab:fc:22:50:66:92:2b:b9:d7:9e:3b:ed:80:e3:
|
|
fa:19:69:38:87:b6:25:3a:db:b5:d0:f2:80:4d:af:
|
|
6d:7d:92:90:de:aa:df:be:80:26:1c:69:ee:7a:e3:
|
|
45:c9:a4:4e:6a:e0:56:5f:1f:61:44:3f:62:34:c9:
|
|
1e:21:5f:f6:7f:68:c0:6e:bf:d2:35:1e:53:99:e4:
|
|
e1:bd:64:a4:49:3c:c3:ce:b6:e8:a9:3d:27:54:ea:
|
|
f1:3e:a1:fc:7b:bf:8d:71:60:90:c5:66:24:85:de:
|
|
7d:47:1f:62:83:e2:63:8e:10:5c:14:cd:d0:7e:86:
|
|
44:4d:df:05:10:43:b8:3c:87:64:69:ec:ea:fb:49:
|
|
9a:c6:76:c1:8f:ea:49:98:0a:d3:97:af:64:ef:da:
|
|
5f:a9:57:03:e3:a0:15:d8:68:c5:40:d8:7b:0f:26:
|
|
0d:5f:f0:be:5a:4c:fd:af:9e:bf:2d:31:40:71:25:
|
|
de:d0:73:19:2d:ae:a6:cb:7c:f0:b8:a4:a9:5c:50:
|
|
80:41:4e:dc:f7:20:a4:a6:66:65:fb:92:d1:43:2d:
|
|
bf:30:b2:0d:db:9b:a3:ac:28:08:c4:81:99:0c:0d:
|
|
45:e9:a9:e5:6c:da:bf:10:bb:a7:3e:5a:5f:b7:93:
|
|
4a:20:15:29:69:74:78:d1:eb:53:a8:88:49:cb:de:
|
|
0c:e2:9b:31:e2:2f:56:95:cf:55:92:a3:8e:a9:ef:
|
|
68:cb:00:11:d4:71:06:4b:e5:89:0c:b6:e7:2b:2f:
|
|
98:65:21:8e:2a:a3:86:73:bb:1b:76:e1:94:02:d8:
|
|
a1:51:97:15:60:a2:39:d5:fd:dc:a8:be:30:12:44:
|
|
b1:49:0b:94:82:cf:5f:93:61:1c:3c:eb:05:5b:a4:
|
|
17:ee:30:cd:7c:db:3f:ee:79:02:da:14:20:98:fd:
|
|
9a:0a:f1:39:c8:59:5b:4e:a3:ad:f8:04:e6:0b:b6:
|
|
81:7e:41:00:af:f7:37:ec:6e:bc:28:a3:3d:76:b6:
|
|
fd:e9:88:c7:1e:78:79:27:62:a2:83:34:15:61:b8:
|
|
e4:c3:ac:f5:7f:3e:4e:5f:5f:31:5b:e8:91:1b:80:
|
|
5e:cb:74:b2:e5:a3:8a:d5:5a:89:fa:63:f1:ff:67:
|
|
bd:59:d0:70:77:b7:75:b5:34:74:3d:2e:99:46:0b:
|
|
4b:c4:64:2f:93:48:fe:47:92:6a:0b:42:5e:ef:c9:
|
|
06:64:84:60:89:2b:84:1f:31:0d:36:15:4e:6b:cd:
|
|
14:f7:a0:d1:b2:b8:ff:53:f5:aa:b9:ed:63:50:7a:
|
|
6f:62:e7:c7:7f:bc:f5:e2:0c:f8:28:a4:0d:ba:75:
|
|
d0:b8:c7:9b:e3:94:62:66:1c:d8:6c:02:2e:a5:a2:
|
|
62:50:fe:cf:31
|
|
Exponent: 65537 (0x10001)
|
|
X509v3 extensions:
|
|
X509v3 Basic Constraints:
|
|
CA:FALSE
|
|
Netscape Comment:
|
|
OpenSSL Generated Certificate
|
|
X509v3 Subject Key Identifier:
|
|
B3:A9:00:04:C7:9C:2B:CD:C0:5F:D1:28:5C:5C:C6:1F:26:F7:17:5A
|
|
X509v3 Authority Key Identifier:
|
|
keyid:C7:2C:01:95:1A:F5:3E:CD:04:A6:24:35:35:04:D9:A7:16:01:2A:79
|
|
|
|
Signature Algorithm: sha1WithRSAEncryption
|
|
01:43:2c:d5:1d:b5:36:05:31:ca:b2:f3:9e:71:ce:62:fe:b2:
|
|
e5:e3:2d:30:23:99:51:3d:50:ee:d6:ce:76:e8:43:8d:5d:9d:
|
|
28:9b:43:90:0c:d4:24:54:3c:53:3c:18:92:ec:93:86:87:7a:
|
|
d6:7f:5d:3b:56:cd:9d:96:7a:06:c8:16:19:8b:ed:c8:21:cf:
|
|
15:b9:fb:06:7d:cb:5c:46:9c:c5:2e:8e:de:77:21:e5:9d:35:
|
|
95:00:c7:ad:d2:57:36:65:1a:43:6c:ee:75:ad:a2:d8:c0:60:
|
|
d5:07:d7:5c:5d:8e:ae:af:4a:e6:fa:6a:13:78:98:b8:11:c7:
|
|
dc:d2:a7:dd:29:b5:76:f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