Re: consuming webservice over ssl problem

From: Rea Peleg (reapeleg_at_barak-online.net)
Date: 01/28/04


Date: Thu, 29 Jan 2004 00:08:17 +0200

Thanks Nicole
You may be right, because now I see in the bottom of the 'can not display
page'
page the following line:'can not find server or DNS error'.
I tried to issue a new test certificate this time using the following
command line:
makecert -sr localmachine -n "CN=XYZ Company" testXYZ.cer (localmachine is
one of 2 options available for the -sr switch, the other is currentuser).I
also mapped localmachine to 127.0.0.1 in the hosts filebut still no
improvement..btw I'm navigating through ie not through code.I do not get any
sertificate warnings...Thanks again Rea"Nicole Calinoiu"
<nicolec@somewhere.net> wrote in message
news:OcOIc544DHA.2392@TK2MSFTNGP11.phx.gbl...
> Rea,
>
> What's the server name on the certificate? Unless it's "127.0.0.1",
there's
> a name mismatch between the address and the certificate, which is probably
> what's causing your problem. To check that this problem is not occurring,
> attempt to navigate to the same address using Internet Explorer. If you
get
> any certificate warnings, chances are very good that you will not be able
to
> connect via your code.
>
> HTH,
> Nicole
>
>
> "Rea Peleg" <reapeleg@barak-online.net> wrote in message
> news:OmVLwu44DHA.2496@TK2MSFTNGP09.phx.gbl...
> > Hey all
> > I'm following msdn's 'Call a Web Service Using SSL' how to.
> > I have complited successfully the first 2 steps (creating a simple web
> > service
> > and configuring the Web Service Virtual Directory to Require SSL (with a
> > test certificate)).
> > Now I'm trying to test the Web Service Using a Browser.
> > I'm using the following url:
> > https://127.0.0.1/securemath/math.asmx
> > but i get the 'page cannot be displayed' error.
> > The same link with the ssl port does not work either
> > https://127.0.0.1:443/securemath/math.asmx
> > If I remove the ssl requirement from the webservice site I can access
it.
> > Any idea where I should start looking??
> > The only flow I can find in my schema is that I'm using a win 2k
> > professional
> > machine as server instead of win2k server. Can this be the problem?
> > Thanks again
> > Rea
> >
> >
>
>



Relevant Pages

  • Re: WSE 2.0 Policy security settings with multiple X.509 certifica
    ... Certificate Store Location is set to LocalMachine (for the Web Service ... "Trusted Client Certificates" is made from "Local Machine - Other People" ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Using Microsoft Certificate Server Programatically
    ... Client contacts server (web service) with encrypted registration ... The server issues the certificate (not sure how the web service ...
    (microsoft.public.platformsdk.security)
  • Re: WCF endpoint certificate identity
    ... When web services have certificates involved and are used at the message level I believe the update process would be to re-send the WSDL to the client. ... Some documentation says that "This element specifies a Base64-encoded X.509 certificate value to compare with the client." ... When the web service owner decides to change the certfificate, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Referenced security token could not be retrieved
    ... I'm attempting to call a .Net Web Service from a Java client and I always ... I created a simple Hello World Web Service and then enabled WSSE for the ... I exported this certificate to a file and then imported it ... BEGIN FULL SOAP MESSAGE REQUEST ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: HTTPS web service connection errors
    ... Last week the hosts of the web service installed a new signed ... As soon as they installed the new certificate, ... Java web app stopped working. ... your Java installation does not have the key to validate it. ...
    (comp.lang.java.programmer)