[SP-pm] Atualização da lib LWP para a versão 6.0 problema https
Daniel de Oliveira Mantovani
daniel.oliveira.mantovani at gmail.com
Tue Mar 15 10:06:45 PDT 2011
Bom, se você atualizar o seu LWP. Todos os módulos que usam ele(pelo
menos boa parte deles), vão ter um problema com requisições "https".
Eu perdi um bom tempo até saber que o problema foi uma atualização do
LWP, como esse módulo é muito, muito usado achei interessante
compartilhar a experiência aqui. Portanto, após a atualização,
instalem os módulos:
IO::Socket::SSL e Mozilla::CA
Que os problemas com https serão resolvidos.
http://cpansearch.perl.org/src/GAAS/libwww-perl-6.01/Changes
"For https://... default to verified connections with require IO::Socket::SSL
and Mozilla::CA modules to be installed. Old behaviour can be requested by
setting the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0. The
LWP::UserAgent got new ssl_opts method to control this as well."
--
"If you’ve never written anything thoughtful, then you’ve never had
any difficult, important, or interesting thoughts. That’s the secret:
people who don’t write, are people who don’t think."
More information about the SaoPaulo-pm
mailing list