Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: LWP Can't POST to HTTPS

by daxim (Chaplain)
on Sep 12, 2012 at 23:19 UTC ( #993324=note: print w/replies, xml ) Need Help??


in reply to Re^2: LWP Can't POST to HTTPS
in thread LWP Can't POST to HTTPS

You certificates seem to be gone. Are they?

You never said whether adding certificates explicitely worked for you. In any case you can extract the certificates and then blindly accept them.

echo -n|openssl s_client -connect webcourses.ucf.edu:443 -showcerts|perl -Mautodie -0 -ne'%c = m|^\s*\d+ s:.*?/CN=([^\n]+).*?(-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----)|gms; for (keys %c) { open $c, ">", "$_.crt.pem"; print {$c} $c{$_}; close $c }'

Translating this to Windows is left as an exercise for you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993324]
help
Chatterbox?
[choroba]: Perl to the rescue!
[Corion]: hippo: At least for the German translation, the wordplay is translated as well
[Discipulus]: always! but if i can ask choroba why you always use the inverted (to me) form 1 == $.?
[choroba]: To avoid accidental overwriting of the variable in if ($x = 3)
[karlgoethebier]: Corion: Auch in hessisch? Mer wasses net.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-05-24 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?