The Problem Solver

Tell me and I will forget
Show me and I will remember
Involve me and I will understand
- Confucius -

Google Ads

This Blog

Syndication

Search

Tags

News





  • View Maurice De Beijer's profile on LinkedIn

Community

Email Notifications

Explore

Archives

Handling HTTPS SSL certificate errors

When using self created SSL certificates with HTTPS WCF endpoints you might run into certificate validation errors. The best solution of to make sure all your certificates are fully trusted but sometimes that might not be an easy thing. The next best thing is to the the ServicePointManager.ServerCertificateValidationCallback and have add your own function to validate the certificate. This way you can ignore invalid certificates and keep going as if everything is well.

Take care though as this might open up a can of worms in a production environment.

Enjoy!

www.TheProblemSolver.nl
Wiki.WindowsWorkflowFoundation.eu

Published Sat, Feb 21 2009 21:19 by Maurice
Filed under: , ,

Comments

# Windows 2008 Security - Handling HTTPS SSL certificate errors@ Sunday, February 22, 2009 5:02 AM

Pingback from  Windows 2008 Security  - Handling HTTPS SSL certificate errors

# re: Handling HTTPS SSL certificate errors@ Tuesday, March 03, 2009 10:26 AM

I am trying to get a listing of my otc stocks and am

unable to do so. Can you help?

by james tischler

# re: Handling HTTPS SSL certificate errors@ Wednesday, April 22, 2009 4:49 AM

certificate errors pls. help me

# Bdcfucrp@ Monday, July 13, 2009 10:05 AM

aCwudq

# Jxtbqnky@ Monday, July 13, 2009 2:11 PM

aBPMoT