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/ssl_cert.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

80 lines
4.3 KiB
Text

Certificate:
Data:
Version: 3 (0x2)
Serial Number: 1 (0x1)
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=localhost
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:c1:9b:13:e1:65:2a:87:a9:3c:84:2e:c3:21:e1:
63:a2:8c:7c:6e:63:9a:ac:3e:45:f5:fa:37:08:aa:
c0:a7:6b:ff:42:27:1a:66:13:b9:ad:ca:d0:35:62:
52:00:56:56:71:cd:dc:74:04:fe:2a:a6:7d:00:61:
e2:b8:9a:0f:d1:2c:56:b7:50:c4:23:f1:52:68:f3:
fd:cf:6c:6b:86:93:91:f0:d8:7a:67:d8:55:fc:0d:
d1:30:f8:aa:a4:79:f2:17:ca:11:b3:8c:e5:01:34:
ad:21:bc:a8:4d:ea:18:bc:13:9c:0a:94:bf:fb:46:
cf:29:d2:52:03:e4:97:4e:92:ae:b7:9d:b0:d9:19:
49:5f:7a:5b:20:80:87:05:db:f4:73:df:04:69:12:
e8:14:1e:d2:c8:dd:d0:d3:81:72:04:f5:34:d7:9c:
61:b5:b6:d3:4b:61:ee:a9:04:36:60:79:c8:77:74:
24:70:89:a8:16:f8:6e:21:51:e9:30:61:fb:21:f6:
b3:6b:c1:b1:09:fa:26:ed:9f:3d:d2:2a:b6:34:d9:
b8:e8:46:d7:08:c3:3c:5d:0e:96:7a:e5:a1:ff:0a:
e2:36:bc:b4:06:3e:32:5a:9e:a5:4b:38:9e:0a:cc:
08:3a:9f:07:4e:74:d0:16:4b:0f:51:e4:d5:24:f3:
76:5d
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
1E:0A:57:4F:0E:BC:B5:26:26:B9:01:80:E8:9A:25:98:4A:C0:D6:05
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
85:13:fa:00:1d:65:c4:f3:82:12:94:67:e3:34:a1:ac:0c:7b:
f1:2c:e7:20:db:ea:b8:d1:54:52:3e:34:00:bf:d3:1f:04:be:
df:c3:7d:96:20:b6:e5:cf:d3:67:b4:27:95:57:41:e9:51:9e:
90:88:a9:0e:97:4f:37:42:35:21:b5:e3:6e:82:c9:4c:66:1c:
61:df:84:28:00:6a:93:d4:dd:25:96:18:55:89:cc:3d:70:a5:
50:a4:e0:b9:db:c1:8e:aa:b1:aa:cc:89:dc:c1:1d:2d:c8:49:
ad:5b:96:eb:62:57:2e:0e:c0:5d:de:0a:86:27:b9:3c:92:bd:
2d:db:0a:3c:ed:ef:1a:cf:0e:33:c9:61:a2:44:c1:ad:53:e6:
ca:28:ee:4c:19:6f:dd:75:a2:cc:d8:9a:36:e7:8c:64:35:da:
1b:cb:9b:31:53:ca:a0:7b:d8:ac:ff:ee:a3:e8:9b:32:8f:5d:
0d:ce:0c:eb:b5:ed:82:d6:70:0e:c3:ca:9e:8b:e4:c1:fc:c0:
1e:ed:81:7e:5a:0a:a7:34:26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