Gokuldas Palapatta

This blog is all about the issues and frictions which i have faced as a developer ;)

Friday, 7 July 2017

2 way SSL WCF service call from an console application # issue "System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel."


Emailer.WSSoapClient obj = new    Emailer.WSSoapClient();

var clientCertificate = new X509Certificate2(AppDomain.CurrentDomain.BaseDirectory + "certname", "Fr@123");

 obj.ClientCredentials.ClientCertificate.Certificate = clientCertificate;
Posted by Gokuldas Palapatta at 06:23 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Gokuldas Palapatta
View my complete profile

Blog Archive

  • ►  2018 (2)
    • ►  February (2)
  • ▼  2017 (5)
    • ▼  July (1)
      • 2 way SSL WCF service call from an console applica...
    • ►  April (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2016 (9)
    • ►  December (1)
    • ►  September (1)
    • ►  July (1)
    • ►  June (2)
    • ►  March (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2015 (56)
    • ►  December (3)
    • ►  November (6)
    • ►  October (1)
    • ►  September (2)
    • ►  August (1)
    • ►  July (8)
    • ►  June (5)
    • ►  May (8)
    • ►  April (6)
    • ►  March (3)
    • ►  February (6)
    • ►  January (7)
  • ►  2014 (1)
    • ►  May (1)
Awesome Inc. theme. Theme images by wibs24. Powered by Blogger.