in reply to LWP and proxy authentication

I suspect it could be the same old issue, which comes up from time to time...  I.e., in order to use a proxy with HTTPS, you have to set the environment variables

$ENV{HTTPS_PROXY} = 'http://proxy.domain.com:8080'; $ENV{HTTPS_PROXY_USERNAME} = 'nt_user'; $ENV{HTTPS_PROXY_PASSWORD} = 'nt_pwd';

instead of telling the LWP::UserAgent via

$ua->proxy(['https'], ... );

Those env variables are being interpreted by Crypt::SSLeay (used under the hood for HTTPS connections), which should then handle things correctly.  Good luck.

Replies are listed 'Best First'.
Re^2: LWP and proxy authentication
by KarthikK (Sexton) on Oct 30, 2007 at 07:59 UTC
    Tried this and no luck :-( I have been struggling with this for last 3 weeks