1

I am getting an error "An SSL error has occurred and a secure connection to the server cannot be made".

Same code is working fine while communicating with another server, i want to make sure whether the issue is due the certificate on server.

1
  • 1
    look into the didReceiveAuthenticationChallenge method of protocol.. Commented Oct 29, 2012 at 8:45

2 Answers 2

2

Its because of the server that you are hitting is HTTPS server. It requires an SSL check.

Sign up to request clarification or add additional context in comments.

Comments

1

please check the url of the server you are communicating with , it must be using HTTPS , try using the service with HTTP.

1 Comment

I am trying to connect with both servers using SSL itself, i am aware of it,i have written code to support SSL, but its not working with one of the server,while it is working fine with others.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.