1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/rubygems/client.pem
Yusuke Endoh ae2a904ce9 Update the certificate files to make the test pass on Debian 10
The old certificate files (for example, test/rubygems/ca_cert.pem) were
signed by SHA1.  This message digest is considered too weak and rejected
by OpenSSL 1.1.1 or later.  Because of this, the test suite does not
pass on Debian 10.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190527T123003Z.fail.html.gz#test%2Frubygems

This change regenerates the files.
A shell script for the regeneration (util/create_certs.sh) is also
added.
2019-05-28 10:07:29 +09:00

107 lines
5.9 KiB
Text

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 2 (0x2)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=JP, ST=Tokyo, O=RubyGemsTest, CN=CA
Validity
Not Before: Jan 1 00:00:00 2009 GMT
Not After : Dec 31 23:59:59 2049 GMT
Subject: C=JP, ST=Tokyo, O=RubyGemsTest, CN=client
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:c7:87:4a:f4:77:32:54:0e:56:0a:80:04:ac:b5:
71:b6:29:9f:c6:aa:f5:9b:3b:75:0a:c2:55:2c:cf:
34:c8:78:b7:38:ed:af:48:7d:7e:6c:4c:39:d8:0f:
cf:fc:ba:f5:e0:50:47:a0:76:72:cf:c7:de:91:a6:
1a:99:8b:5f:6f:0c:06:fc:f1:78:6b:0f:c5:bc:91:
cc:91:f0:85:05:5d:66:d3:cb:ac:54:a1:bc:9b:6c:
e8:17:f2:17:20:b8:b0:b2:03:cc:9d:a6:8e:c0:33:
6c:8b:5f:ef:1a:f6:38:6d:80:3f:4d:b5:e3:a5:a4:
f1:86:15:76:62:8b:6c:9d:fa:24:59:32:8f:60:b0:
80:f4:22:a2:68:57:13:aa:60:e4:cd:01:34:87:76:
2a:15:ca:86:9b:b7:aa:b5:66:fd:72:d8:35:86:7e:
c8:1d:a1:71:71:85:ac:65:64:c2:ea:19:52:7b:34:
1e:12:c4:87:8f:75:d7:65:35:85:dd:5a:33:5d:2c:
31:f8:2f:b4:84:a7:b6:56:56:2b:e1:9c:c9:c8:f9:
41:18:40:19:d9:bb:d4:3c:0d:c4:93:dc:b8:d1:99:
44:d0:3d:a2:de:de:29:7f:d6:0c:a8:07:df:bc:ed:
66:5b:aa:cc:64:44:b8:79:49:ed:48:77:88:e2:d1:
94:b9
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
EF:5A:B6:46:3A:44:5F:0F:E4:F9:E0:6B:B2:C8:45:8D:07:0D:70:15
X509v3 Authority Key Identifier:
keyid:D6:DB:87:AD:D3:45:FC:D4:8D:6B:2B:97:F4:CF:95:08:B6:FA:62:A4
Signature Algorithm: sha256WithRSAEncryption
55:b5:5a:51:cd:0b:2a:81:10:e6:d1:d9:d6:6c:78:99:9b:01:
18:e7:91:32:89:6c:fd:3b:eb:c0:03:82:f8:5c:e2:19:c1:04:
5d:37:10:5b:97:0b:be:76:8b:98:71:d4:63:68:8c:0e:61:c9:
ec:3d:cf:ed:01:57:9f:9b:53:07:27:1a:7e:20:f3:8a:13:8c:
4f:30:bd:e6:a0:eb:d7:2c:a1:95:35:3f:a6:53:c9:00:11:f9:
f6:b3:9d:53:e4:b5:71:33:f1:dc:86:47:94:6f:a9:64:01:d4:
c5:1b:7c:95:0a:02:0e:6f:d1:70:94:5a:5f:7b:ac:77:f7:56:
35:6b:ad:a2:e2:fc:74:91:1e:c3:46:fc:32:01:19:a1:a5:27:
f3:31:14:79:86:7c:4d:9a:83:7c:28:03:9f:ac:3c:8c:e4:d9:
c8:b0:4e:a3:fe:75:cd:a9:8e:34:57:3b:6b:14:d6:df:35:42:
7b:c9:3d:88:0d:ea:5f:1e:c6:5f:80:0e:a5:b9:bf:25:06:ac:
ac:38:7f:cc:f9:a5:9e:68:cc:08:77:1e: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