Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Nov : Inet Control & POST & internet_flag_ignore_cert_cn_invalid etc

www.cryer.info
Managed Newsgroup Archive

Inet Control & POST & internet_flag_ignore_cert_cn_invalid etc

Subject:Inet Control & POST & internet_flag_ignore_cert_cn_invalid etc
Posted by:"hushtech" (hushte..@discussions.microsoft.com)
Date:Thu, 9 Nov 2006 15:36:02

Can anyone tell me how to use the internet_flag_ignore_cert_cn_invalid
flag etc when POSTing using Internet Transfer Control as follows:

url = "https://somesite.com"
args = "?mode=auto&account=" + acct + "&password=" + pw
strHeader = "Content-type: application/x-www-form-urlencoded" & vbCrLf
InetGateway.Execute url, "POST", args, strHeader

I need to ignore an expired Certificate, or if possible -- how do I handle
the Certificate?  Currently (since I don't deal with the Certificate ) the
request fails.

thanks -- jack

Replies:

www.cryer.info
Managed Newsgroup Archive