http://qs321.pair.com?node_id=766783

ptum has asked for the wisdom of the Perl Monks concerning the following question:

I'm new to using LWP or Mechanize against HTTPS, and having some trouble. Because I'm on a multi-homed server, I need to specify the outgoing IP Address (firewall rules associated with the port). Is there a way for me to set the outgoing IP address within a user agent? Also, I'm getting a "500 SSL negotiation failed" message even though I've set the credentials:

$ua->credentials('target_domain.tld:8080','made_up_realm_name','userid','password');

Any suggestions?

No good deed goes unpunished. -- (attributed to) Oscar Wilde