469,312 Members | 2,503 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,312 developers. It's quick & easy.

Using client certificates in ASP

Hi there,

I have an ASP page, which have to connect to an SSL server that
requires a
client certificate, but I get the following error:

Erroror Type:
msxml3.dll (0x80072F0C)
A certificate is required to complete client authentication
/test/test.asp, line 34

Here goes my code:
const DQ = """"
dim responseText
dim strRequest
dim objSrvHTTP
dim objXMLDocument
dim objXMLReponseDocument
strRequest = "xxx test xxx"
set objSrvHTTP = CreateObject("MSXML2.ServerXMLHTTP")
set objXMLDocument = CreateObject("MSXML2.DOMDocument")
set objXMLReponseDocument = CreateObject("MSXML2.DOMDocument")
objXMLDocument.async = false
'objSrvHTTP.setOption(3) = "Local_Machine\My\www.notourwebsite.com"
objSrvHTTP.setOption 3, "cert_name"
objSrvHTTP.open "POST", "https://host:8443", false
objSrvHTTP.SetRequestHeader "content-Type","text/xml"
objSrvHTTP.send objXMLDocument ' Line 34
Response.Write objSrvHTTP.responseText

Can someone please help me with this issue?

Thanks in regards,

Jess Nielsen
Systems Developer
Jul 19 '05 #1
0 2243

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Matt Frame | last post: by
reply views Thread by dinoo | last post: by
reply views Thread by Ankur Tyagi via .NET 247 | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.