Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Tuesday March 15, 2005
06:56 AM

Mono and unhelpful SSL error messages

[ #23659 ]
I have been puzzled this morning about why I couldn't get wsdl.exe to work (via mono) with my https webservice.

I kept on getting :
Error: There was an error processing 'https://baldwins.aaron.dev.fsite.com/SOAP/khaoscatalogue'.

  • - Error getting response stream (Write): SendFailure
    - The authentication or decryption has failed.

..not very helpful.

After a lot of looking around I eventually managed to find this FAQ which says to use certmgr to add certificates to the Trusted group. Unfortunately I can't seem to get this to work.

Looking at monologue, I see that "The certmgr tool has been updated to download certificates, including up-to the root certificate if desired. certmgr.exe -ssl https://www.verisign.com This can be done from any SSL session (as long as you supply the port number for non-Fx protocol), e.g. certmgr -ssl ldaps://www.nldap.com:636

There are a few possible problems (like old root certificates using MD2 in their signature) so be sure to read the man page if it doesn't work.", but of couse that requires dev (1.1.4) rather than stable (1.0.6) and there are of course no rpm's for dev - maybe I can grab a nightly binary...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • It looks like that was a waste of 45 minutes - after installing the redhat 9 mono 1.1.4 rpm's I can only get "illegal instruction".

    Mono seems a lot further from being ready for production use than I expected. That is very disappointing.

    I guess I'll have to resort to using bloody .Net on windows until mono suck less. And all I want to do is write a simple webservice client to an HTTPS service.

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;
  • Once I made the service available over http I managed to get some WSDL errors from mono's wsdl tool - not enough to be helpful though (Microsofts wsdl.exe is even worse).

    Fortunately I managed to find mindreef soapscope [mindreef.net] web service checker and soapclient [soapclient.com] web service client.

    I haven't managed to get any luck with the mono/.net tools yet, but these are very helpful as is this Annotated wsdl examples [w3.org] page at w3.org.

    --

    @JAPH = qw(Hacker Perl Another Just);
    print reverse @JAPH;
    • Hmm...

      mono wsdl barfs on the examples from w3.org, wtf is that supposed to mean - either the examples are broken or wsdl sucks.

      I had to crib from the GoogleSearch wsdl which mono seems to love, even after changing everything to look like GoogleSearch, it still fails to generate anything useful.

      hateful thing

      --

      @JAPH = qw(Hacker Perl Another Just);
      print reverse @JAPH;