Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: SOAP and class1 cert

by idsfa (Vicar)
on Aug 24, 2005 at 15:58 UTC ( [id://486259]=note: print w/replies, xml ) Need Help??


in reply to SOAP and class1 cert

The code doesn't support https. Excerpt from the send_receive method indicated in your error message:

sub send_receive { . . . my $http_endpoint = qq[http://$host:$port$endpoint]; my $ua = LWP::UserAgent->new(); my $post = HTTP::Request->new('POST', $http_endpoint, ...

Note the hardcoded http. Did you actually test to confirm that you were passing SSL connections?


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. -- Cyrus H. Gordon

Replies are listed 'Best First'.
Re^2: SOAP and class1 cert
by Hammy (Scribe) on Aug 24, 2005 at 17:56 UTC
    I have been using this code for about 1 year now and there have been no problems. It works like a charm when I use the SSL cert on the box, but not when I use the class one cert I just aquired. I found one thing I am doing wrong was trying to use the pfx file. I have converted it to a pem, but I now get an invalid arguement error. I am not sure where to go next.
      It's been a while since I had to troubleshoot a problem like this, but in the past, I think I fired up a browser on the soap client, imported the cert, and tried to access the remote soap server that way. As I remember, this helped me track down cert issues independent of the soap layers. Don't know if it will help in your case. Good luck.
        You peaked my interest a little. How could I use my browser to access the remote SOAP service?
        Problem solved. I used openssl on my APACHE box to translate the pfx file to a pem file. Once doing that I still ran into a few problems until I used an option to remove the password from the key. Once doing that, all worked like a charm.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://486259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-25 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found