|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Asp/XML in IIS 6
OK here's my issue: I've been using a Response/Request xml data transfer and it worked fine until we move our site from a windows 2000 server to windows 2003. Now I'm getting an error that says "The host name in the certificate is invalid or does not match". It is true that our vendors name on their ssl certificate does not match the domain that I'm posting to. Is this a security difference between IIS 5 & 6? Is there a setting in IIS 6 that I can change to tell it to trust our vendors certificate, or any other work around would suffice.
Set poster = Server.CreateObject("MSXML2.ServerXMLHTTP") poster.open "POST", "https://www.someurl.com", false poster.setRequestHeader "CONTENT_TYPE", "text/xml" poster.send (SendDoc) *error happens here Your input is appreciated |
|
#2
|
|||
|
|||
|
Check with the certificate vendor maybe?
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
I already know that the name on the vendors certificate does not match their domain name, I'm looking for a way to work around that.
|
|
#4
|
|||
|
|||
|
I'm having the exact same issue... any workaround for this? And for those folks wondering...
I'm running a script that queries each server in a web farm. The farm has a certificate for the DNS name, but querying each server means that I can't use that DNS name. So, I have to use the server name, resulting in the cert error. Any workarounds are greatly appreciated! -Sean |
|
#5
|
|||
|
|||
|
Here's what I wound up doing:
Set poster = Server.CreateObject("MSXML2.ServerXMLHTTP") poster.open "POST", "https://www.someurl.com" const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056 poster.setOption 2, SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS poster.send(SendDoc) |
|
#6
|
|||
|
|||
|
That worked for me as well... thanks much! I was about to give up and just allow a non-ssl connection to the one file I needed to retrieve.
|
|
#7
|
|||
|
|||
|
Glad I could help
|
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Asp/XML in IIS 6 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|