Featured post
c# - Web Exception with Web Service -
i have developed client application consume web service,
there no error's in code when debug following exception,
'webexception unhandled - underlying connection closed: not establish trust relationship ssl/tls secure channel.'
i think fact secure web service trying consume, question error occur due security certificate not being installed correctly? , if there way manually instal certificate application?
thanks time.
this issue of missing trust. server's ssl certificate needs trusted consuming client. there 2 ways fix this:
buy ssl certificate trusted certificate authority (ca)
add server's ssl certificate trusted people certificate store of user running app (or computer on app run (localmacine/trustedpeople))
you can use x509certificatestore
class add certificates appropriate store programmatically, can distribute public key of server's ssl certificate app , install when needed.
- Get link
- X
- Other Apps
Comments
Post a Comment