Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Possible to override matching on common name in Certificate Runtime error 12038
dbl

From: Oslo, Norway
Posts: 16
Member Since: 07/25/02
posted December 30, 2002 8:39 AM

Is it possible to override the matching of common name in SSL Certificate for DartWeb object?

I HAVE to be able to do this as I am trying to retrieve data via https from many systems all "sharing" one common certificate. I have set Security = httpIgnoreUnkCertAuth but I get the runtime error 12038 - SSL Certificate Common Name is incorrect, when using Get method.

Or is there a way to install the certificate on the server doing the request and having dartweb use this for authentication purposes?

Regards,
David


Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 30, 2002 8:42 AM

You are using the wrong constant. Try httpIgnoreCertNameCheck instead.

dbl

From: Oslo, Norway
Posts: 16
Member Since: 07/25/02
posted December 30, 2002 8:52 AM

Thanks for the prompt reply!!!

But using httpIgnoreCertNameCheck gives me the runtime 12045 - the function is unfamiliar with the Certificate Authority....

YIHAA! I was just going to complain about not being able to combine httpIgnoreCertNameCheck + httpIgnoreUnkCertAuth but discovered that it was as simple as writing objhttp.sercurity=httpIgnoreUnkCertAuth + httpIgnoreCertNameCheck

Love u guys! Thanks - have a happy new year!!
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX