Perl LWP agent problems posting to https site

I have the following code snippet that runs fine on two machines, but not on the one I need it to run on.

use LWP::UserAgent;

$ua = LWP::UserAgent->new(ssl_opts => {verify_hostname => 1 });
$res = $ua->post("https://tradehouse.net/send/interchange", content => { request => "$xmlout" });

Depending on the setting for verify_hostname I get two different results.
= 0 Bad hostname tradehouse.net:443
= 1 Certificate verification failed

I'm running it successfully on win XP and Win 7.  The problem machine is running Windows 7 and it's a new PC with very little else on it.  Other than being on different networks, and running different firewalls (Comodo is on the machine that fails) Norton is on the machines that work, I don't see a lot of difference between the two installations.

I'm using activestate perl.  I've tried adding Mozilla::CA but that didn't make any difference.  I've run out of ideas to try.
LVL 1
Doug PoulinCTOAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kyanwanCommented:
Have you verified that you've Installed the root CA Chain (Certificate/Authority trust chain) for the CA that the site is using?

Because you're listing the system as a "new machine", I'm leaning towards the CA chain may be the issue.
0
Doug PoulinCTOAuthor Commented:
The problem turned out to be Comodo firewall.  Turning it off doesn't always seem to help.  And it disables the installer, so trying a re-install was problematic.  I usually check the firewall but Comodo's not a program I've had experience with.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Doug PoulinCTOAuthor Commented:
I solved the problem on my own.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.