Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wininet error 12057

1,744 views
Skip to first unread message

Camilo Torres

unread,
Aug 8, 2003, 6:36:48 PM8/8/03
to
Hello,

I'm receiving the following HTTP Error code in my dll wich is using WinInet
to connect
to a SSL site using my propietary certificate authority created using
Microsoft Certificate Services.

The client machine is a Windows XP with the certificate for my Certificate
Authority correctly
installed. My client is able to connect to the site using HTTPS with a
browser, but not through
my application, currrently 200 clients are working fine, but only this XP
machine and some few
Windows 98 are raising this error. The application is also running in other
XP and 98 machines.

I've restarted the IIS and Certificate Services on my server and try to
connect without luck.

Any suggestions?

ERROR_WINHTTP_SECURE_CERT_REV_FAILED
12057
Indicates that revocation could not be checked because the revocation server
was offline (equivalent to CRYPT_E_REVOCATION_OFFLINE).


Camilo Torres
c.to...@microc.com


Brian Combs

unread,
Aug 12, 2003, 4:05:56 PM8/12/03
to
Hello
You can handle this error in your code by setting the security flags. Take
a look at the following article.
182888 HOWTO: Handle Invalid Certificate Authority Error with WinInet
http://support.microsoft.com/?id=182888

You will need to add the SECURITY_FLAG_IGNORE_REVOCATION
Ignores certificate revocation problems flag.

Thanks
Brian [MS]
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Camilo Torres" <c.to...@microc.com>
| Subject: Wininet error 12057
| Date: Fri, 8 Aug 2003 18:36:48 -0400
| Lines: 35
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <umUhyyfX...@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.inetsdk.programming.wininet
| NNTP-Posting-Host: 180stb61.codetel.net.do 66.98.11.180
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.inetsdk.programming.wininet:10154
| X-Tomcat-NG: microsoft.public.inetsdk.programming.wininet

0 new messages