Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LWP HTTPS in perl

Status
Not open for further replies.

samuelkfp

Programmer
Mar 3, 2004
2
US
I have installed the perl 5.6.1 in my windows 2000 desktop and I see the following file
C:\Perl\site\lib\LWP\Protocol\https.pm and
C:\Perl\site\lib\LWP\Protocol\https10.pm

However, when i run a LWP UserAgent to issue a https client request to a SSL enabled site, I got the error
501 Protocol scheme 'https' is not supported

Should I do anything else to enable the https in Perl installation? It seems that I have https library for perl already.

thanks
sameul poon
 
from LWP::search.cpan.org
HTTPS Requests
HTTPS requests are HTTP requests over an encrypted network connection using the SSL protocol developed by Netscape. Everything about HTTP requests above also apply to HTTPS requests. In addition the library will add the headers "Client-SSL-Cipher", "Client-SSL-Cert-Subject" and "Client-SSL-Cert-Issuer" to the response. These headers denote the encryption method used and the name of the server owner.

The request can contain the header "If-SSL-Cert-Subject" in order to make the request conditional on the content of the server certificate. If the certificate subject does not match, no request is sent to the server and an internally generated error response is returned. The value of the "If-SSL-Cert-Subject" header is interpreted as a Perl regular expression.

Could this be the problem

--Paul
 
The error got from the program is
501 Protocol scheme 'https' is not supported

IT seems that https protocol is not supported in my perl, though i see the https.pm and https10.pm. How can i enable my perl to use https?
 
Are you sure the site you're looking to get to has SSL installed?
--Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top