Link to home
Start Free TrialLog in
Avatar of David C
David CFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Add certificate to HttpWebRequest

Having created a web request Dim request As HttpWebRequest = CreateWebRequest() how do I add a certificate to it please?  I have tried using request.ClientCertificates.Add("certificate_name_installed_in_personal_store") but it says "Value of type 'String' cannot be converted to 'System.Security.Cryptography.X509Certificates.X509Certificate'"
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial