mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +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.
74 lines
4.1 KiB
Text
74 lines
4.1 KiB
Text
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number: 1 (0x1)
|
|
Signature Algorithm: sha1WithRSAEncryption
|
|
Issuer: CN=cacert, C=FI, ST=Helsinki, L=Helsinki, O=MariaDB
|
|
Validity
|
|
Not Before: Apr 25 14:55:05 2015 GMT
|
|
Not After : Apr 20 14:55:05 2035 GMT
|
|
Subject: C=FI, ST=state or province within country, in other certificates in this file it is the same as L, L=location, usually an address but often ambiguously used, O=organization name, typically a company name, OU=organizational unit name, a division name within an organization, CN=localhost
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
Public-Key: (1024 bit)
|
|
Modulus:
|
|
00:aa:e6:54:bd:dd:52:1e:16:f7:24:52:37:58:2b:
|
|
a7:af:49:e1:cd:75:2a:18:52:e1:48:f0:59:82:c0:
|
|
7a:d9:66:b3:97:04:b3:77:f4:39:fd:d1:c0:1a:c5:
|
|
a6:ab:44:84:d2:17:39:53:25:63:9b:c3:24:78:51:
|
|
5c:77:6b:df:b4:82:1d:e4:43:f4:67:0a:5d:89:a2:
|
|
fe:b0:ea:64:3a:1d:9d:49:78:c8:7f:79:a5:cd:45:
|
|
4b:0c:ad:ae:4f:e2:d4:5d:ec:e8:73:06:ed:98:92:
|
|
85:49:b2:9c:31:3b:44:38:5f:bb:5a:f1:68:84:a9:
|
|
c3:5b:31:39:d4:47:98:38:55
|
|
Exponent: 65537 (0x10001)
|
|
X509v3 extensions:
|
|
X509v3 Basic Constraints:
|
|
CA:FALSE
|
|
Netscape Comment:
|
|
OpenSSL Generated Certificate
|
|
X509v3 Subject Key Identifier:
|
|
E5:72:8F:57:72:D6:75:63:28:7F:E2:BF:00:B7:1D:B8:AA:FE:94:59
|
|
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
|
|
88:44:46:fa:7d:16:ae:9d:16:5b:95:26:03:3c:71:f4:29:3d:
|
|
df:cb:f4:14:20:9f:87:24:b4:29:17:2d:7a:12:48:76:ac:00:
|
|
44:26:ba:93:83:ad:58:7e:b7:77:e4:b0:32:0d:e5:dd:fb:cc:
|
|
0e:9b:88:e0:24:82:e4:41:43:47:5a:4e:d3:b4:5b:47:4b:57:
|
|
eb:67:02:63:bb:dd:05:12:f5:95:01:0b:89:81:ca:c2:91:14:
|
|
21:9a:9e:c9:84:91:46:35:0e:26:44:1e:91:88:74:4f:fe:d3:
|
|
19:9e:65:fa:46:e2:46:04:ad:91:79:4c:70:1b:68:b2:49:e9:
|
|
6c:f4:58:44:3b:43:15:85:56:64:1b:84:74:49:95:9f:cd:93:
|
|
9d:8e:69:ab:ca:46:97:b6:74:e9:2a:83:85:62:cd:e5:be:c3:
|
|
52:bd:cf:90:cc:60:27:76:ee:1b:3c:da:69:73:e2:11:68:14:
|
|
dc:7d:9f:b8:6f:20:a2:0c:b7:8e:33:40:89:d1:a3:89:e2:60:
|
|
6a:ec:b5:9f:e8:c5:55:10:40:b2:95:5e:54:8a:10:8e:d5:90:
|
|
d9:98:86:d8:f9:b6:01:41:8c:d7:0d:0e:86:0e:50:6d:a2:64:
|
|
00:2a:91:5e:35:64:15:e3:86:34:3a:39:eb:0f:4f:56:c7:15:
|
|
4c:74:2e:91
|
|
-----BEGIN CERTIFICATE-----
|
|
MIIEETCCAvmgAwIBAgIBATANBgkqhkiG9w0BAQUFADBWMQ8wDQYDVQQDDAZjYWNl
|
|
cnQxCzAJBgNVBAYTAkZJMREwDwYDVQQIDAhIZWxzaW5raTERMA8GA1UEBwwISGVs
|
|
c2lua2kxEDAOBgNVBAoMB01hcmlhREIwHhcNMTUwNDI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