Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

We used a third party API Service with certificate authentication to push some files into ther server.We created the application in VS 2010 and tested locally in Windows 7 OS.Its working fine.

While we hosted the application in Windows 2003 Server R2 OS we are getting the error as "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel"

We are getting the error in this point
Using requestStream = request.GetRequestStream()
requestStream.Write(postData, 0, postData.Length)
End Using

While getting the requestStream error occurs.

Please help us to resolve it.

Regards
Sreejith
Posted
Comments
syed shanu 1-Dec-14 1:17am    
You have mention its third party API.Hope you can get better help from their.Might be they will support you to solve the problem.
SreejithAchutan 1-Dec-14 1:52am    
We already replied to them.But while we debug the error occuring at GetRequestStream().There the exception is coming.

Regards
Sreejith

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900