Now it's works .... [root@webkdc ~]# env PERL_LWP_SSL_VERIFY_HOSTNAME=0 GET https://webkdc.example.com/webkdc-service/ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> </p> <hr> <address>Apache/2.2.15 (Scientific Linux) Server at webkdc.example.com Port 443</address> </body></html>
2012/11/7 Russ Allbery <ea...@windlord.stanford.edu> > James James <jre...@gmail.com> writes: > > > I've got : > > > [root@webkdc ~]# GET https://webkdc.example.com/webkdc-service/ > > Can't connect to webkdc.example.com:443 (certificate verify failed) > > > LWP::Protocol::https::Socket: SSL connect attempt failed with unknown > error > > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > verify > > failed at /usr/local/share/perl5/LWP/Protocol/http.pm line 51. > > Okay, now try that with: > > env PERL_LWP_SSL_VERIFY_HOSTNAME=0 GET > https://webkdc.example.com/webkdc-service/ > > That will tell us whether that variable isn't working at all with your > LWP. > > If that succeeds, then that means the code to set that variable when you > configure the WebLogin server to use localhost isn't working properly. > > -- > Russ Allbery <ea...@windlord.stanford.edu> > Technical Lead, ITS Infrastructure Delivery Group, Stanford University >