Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 18th, 2004, 10:07 AM
digitaldew digitaldew is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Jax Beach, Florida - USA
Posts: 94 digitaldew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 17 sec
Reputation Power: 5
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
__________________
Just a guy
www.Digital-Dews.com

Reply With Quote
  #2  
Old August 18th, 2004, 08:42 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
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

Reply With Quote
  #3  
Old August 19th, 2004, 09:41 AM
digitaldew digitaldew is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Jax Beach, Florida - USA
Posts: 94 digitaldew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 17 sec
Reputation Power: 5
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.

Reply With Quote
  #4  
Old September 21st, 2004, 07:54 AM
sean088 sean088 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 sean088 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #5  
Old September 21st, 2004, 09:25 AM
digitaldew digitaldew is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Jax Beach, Florida - USA
Posts: 94 digitaldew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 17 sec
Reputation Power: 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)

Reply With Quote
  #6  
Old September 22nd, 2004, 07:57 AM
sean088 sean088 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 2 sean088 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #7  
Old September 22nd, 2004, 09:57 AM
digitaldew digitaldew is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Jax Beach, Florida - USA
Posts: 94 digitaldew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 17 sec
Reputation Power: 5
Glad I could help

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Asp/XML in IIS 6


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway