В общем суть проблемы в том, что раньше модуль Perl модуль LWP 5.8 свободно гулял по https, а вот после обновления LWP до 6.0 (вышел 8 марта) https не пашет.
В результате получаем ошибку:
500 Can't verify SSL peers without knowning which Certificate Authorities to trust
Код:
Can't verify SSL peers without knowning which Certificate Authorities to trust
This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
envirionment variable or by installing the Mozilla::CA module.
To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME
envirionment variable to 0. If you do this you can't be sure that you
communicate with the expected peer.
З.Ы.
С помощью HTTPS хотел организовать регистрацию пользователей в почте для домена от Яндекс и авторизацию пользователей в почте по короткоживущему токену.
Пока проблему решил отменой верификации хоста
Код:
my $browser = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 });