Thread Problem mit LWP::UserAgent und SSL request unter Strawberry Perl (14 answers)
Opened by Bernhard at 2015-04-03 14:56

GwenDragon
 2015-04-03 17:24
#180560 #180560
User since
2005-01-17
14761 Artikel
Admin1
[Homepage]
user image
Seltsam, das Zertifikat hat mehrer alternative Domains über DNS, darunter auch api.flickr.com.

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
C:\>openssl s_client -connect api.flickr.com:443 | openssl x509 -text
Loading 'screen' into random state -WARNING: can't open config file: z:/strawberry_libs/build/_wrk_2013Q1_.out/ssl/openssl.cnf
done
depth=2 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = "(c) 2006 VeriSign, Inc. - For authorized use only", CN = VeriSign C
lass 3 Public Primary Certification Authority - G5
verify error:num=20:unable to get local issuer certificate
verify return:0
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
7e:26:b6:f9:10:8e:88:96:6c:d7:cf:6e:bc:12:59:ba
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=US, O=VeriSign, Inc., OU=VeriSign Trust Network, OU=Terms of use at https://www.verisign.com/rpa (c)10, CN=VeriSign Class
3 Secure Server CA - G3
Validity
Not Before: Mar 16 00:00:00 2015 GMT
Not After : Apr 24 23:59:59 2015 GMT
Subject: C=US, ST=California, L=Sunnyvale, O=Yahoo Inc., CN=www.yahoo.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:a6:91:fe:ef:38:57:b8:58:c7:9f:32:47:63:05:
35:01:26:0c:06:8b:7a:35:88:49:36:2b:6f:59:78:
74:72:37:1c:72:af:37:02:e6:3e:52:4c:2b:15:b2:
f3:cf:85:b5:6b:c4:b4:eb:37:bb:01:a4:32:00:a6:
b9:c9:b4:3b:48:40:c8:4d:29:da:5c:a4:6a:94:3b:
f2:fb:de:90:24:e3:15:05:dd:0f:4d:02:03:25:77:
7b:35:9b:42:84:36:ff:98:63:77:e7:1c:34:d0:6a:
41:07:88:da:01:f5:b2:ae:41:de:d3:59:eb:3c:da:
cd:78:a1:48:29:2c:cf:a2:97:7b:fd:68:6a:ab:19:
5e:84:88:fb:a3:10:27:ac:c7:ad:43:58:21:bd:4b:
75:f0:bb:47:e3:66:1a:5e:8b:a1:02:69:4a:a8:65:
8f:43:3b:29:d8:37:06:64:70:0c:71:4a:0d:fa:d6:
07:a8:73:14:12:6f:71:db:87:c9:a1:c9:2c:6d:a2:
f9:f7:97:69:61:58:3d:73:84:00:2f:e8:9b:d4:c4:
31:96:de:30:1f:58:71:3c:87:c3:48:44:04:39:13:
9e:7b:09:50:03:df:19:6c:d8:b9:01:b0:d8:8b:d4:
0f:ad:3f:13:4f:36:eb:91:33:7f:ef:7f:0d:a8:bd:
aa:27
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Alternative Name:
DNS:*.answers.yahoo.com, DNS:*.antispam.yahoo.com, DNS:*.api.fantasysports.yahoo.com, DNS:*.auctions.yahoo.com, DNS:*.autos.
yahoo.com, DNS:*.calendar.yahoo.com, DNS:*.celebrity.yahoo.com, DNS:*.cricket.yahoo.com, DNS:*.deals.yahoo.com, DNS:*.eurosport.yahoo.com, D
NS:*.everything.yahoo.com, DNS:*.fantasysports.yahoo.com, DNS:*.finance.yahoo.com, DNS:*.flickr.com, DNS:*.football.fantasysports.yahoo.com,
DNS:*.games.yahoo.com, DNS:*.geo.yahoo.com, DNS:*.groups.yahoo.com, DNS:*.help.yahoo.com, DNS:*.lifestyle.yahoo.com, DNS:*.m.yahoo.com, DNS
:*.mail.yahoo.com, DNS:*.maktoob.com, DNS:*.messenger.yahoo.com, DNS:*.mg.mail.yahoo.com, DNS:*.movies.yahoo.com, DNS:*.msg.yahoo.com, DNS:*
.mujer.yahoo.com, DNS:*.music.yahoo.com, DNS:*.my.yahoo.com, DNS:*.news.yahoo.com, DNS:*.notepad.yahoo.com, DNS:*.noticias.yahoo.com, DNS:*.
protrade.com, DNS:*.safely.yahoo.com, DNS:*.screen.yahoo.com, DNS:*.search.yahoo.com, DNS:*.secure.yahoo.com, DNS:*.seguridad.yahoo.com, DNS
:*.shine.yahoo.com, DNS:*.sports.yahoo.com, DNS:*.staticflickr.com, DNS:*.travel.yahoo.com, DNS:*.tv.yahoo.com, DNS:*.video.yahoo.com, DNS:*
.wc.fantasysports.yahoo.com, DNS:*.wc.yahoodns.net, DNS:*.weather.yahoo.com, DNS:*.yahoo.com, DNS:*.yahooapis.com, DNS:*.ybp.yahoo.com, DNS:
*.ymail.com, DNS:*.yql.yahoo.com, DNS:*.ysm.yahoo.com, DNS:flic.kr, DNS:flickr.com, DNS:s.wc.yahoo.net, DNS:www.yahoo.com, DNS:yahooapis.com
, DNS:ymail.com
X509v3 Basic Constraints:
CA:FALSE
X509v3 Key Usage: critical
Digital Signature, Key Encipherment
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
X509v3 Certificate Policies:
Policy: 2.16.840.1.113733.1.7.54
CPS: https://d.symcb.com/cps
User Notice:
Explicit Text: https://d.symcb.com/rpa

X509v3 Authority Key Identifier:
keyid:0D:44:5C:16:53:44:C1:82:7E:1D:20:AB:25:F4:01:63:D8:BE:79:A5

X509v3 CRL Distribution Points:

Full Name:
URI:http://sd.symcb.com/sd.crl

Authority Information Access:
OCSP - URI:http://sd.symcd.com
CA Issuers - URI:http://sd.symcb.com/sd.crt

Signature Algorithm: sha1WithRSAEncryption
4e:d8:8e:a6:b2:ab:48:8a:d9:d3:fc:76:39:2c:be:1a:c9:d6:
cd:84:63:57:48:d3:76:57:e2:61:85:b9:de:06:8c:59:d0:d9:
a1:7e:e7:57:26:e0:12:98:98:58:16:79:52:7c:62:53:1b:1e:
ed:aa:f5:61:19:53:c0:2b:a9:94:45:d0:ab:1c:ec:cb:e9:00:
43:57:1c:c3:06:bf:43:c4:b5:82:1d:45:b2:73:27:7d:59:9e:
7e:fc:a5:51:4f:bf:37:58:e8:17:6f:96:2e:6a:7f:dd:d9:12:
b1:20:fc:15:2c:ea:b2:ac:09:0d:c2:41:03:c8:7d:06:b3:93:
19:3e:bc:6c:0e:c1:47:3f:92:2d:2d:1c:49:e8:6b:3a:2c:d5:
fe:20:db:67:47:16:f3:7b:14:0b:3c:b6:41:2a:db:72:52:28:
dc:af:10:75:d6:47:ee:46:00:95:c6:46:09:63:ee:b9:f6:65:
7d:eb:25:a9:3f:7f:98:b2:71:5c:21:65:7d:10:ff:17:ae:ba:
b4:1f:37:22:57:f1:1b:e2:9e:a5:70:e6:fe:f8:f3:a5:79:41:
7e:80:6e:62:ad:e7:93:72:af:cd:ef:dd:b7:60:2b:82:92:1e:
72:12:d6:9b:73:58:3f:c2:1f:5c:01:a9:15:ec:cd:e3:70:c0:
d0:a8:15:ac


Warum LWP + IO::Socket::SSL das nicht prüfen will, kann ich nicht sagen :(

View full thread Problem mit LWP::UserAgent und SSL request unter Strawberry Perl