TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Fares Ayyad
NA
235
74.2k
adding certificate to SOAP web service.
May 13 2018 7:57 AM
Hello
I'm trying to call a webservice, which requires a certificate to work, the certeficate installed
on local machine in mmc.
i need to add a certificate using code to the web service instance.
NeqatyWSDL.NeqatyWSAPI neqatyWSAPI =
new
NeqatyWSDL.NeqatyWSAPI();
neqatyWSAPI.Url =
"https://simb140.margento.com:48728"
;
X509Certificate2 cert =
new
X509Certificate2(@
"D:\
cert.p12",
"pass"
,X509KeyStorageFlags.DefaultKeySet);
neqatyWSAPI.ClientCertificates.Add(cert);
neqatyWSAPI.authorize(authorize);
The debugger stoped at the last line and raise error with the follwing:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Reply
Answers (
1
)
XML files are to be generated corresponding to each PDF file
Report in MVC 5