Re: Can't accept a SSL certificate

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I'm following KB321051 to enable LDAP over SSL on my Windows 2003 server. I
followed steps 1 and 2 to create the certificate request file. Then, I used
Certificate Services on my W2K3 system to create the certificate, using the
Certification Authority MMC snap-in. When I saw the certificate in 'Issued
Certificates', I selected 'Export Binary Data', and selected 'Binary
Certificate', and 'View formatted text version of data'. Sure enough, this
looks like a good certificate to me.

Step 5 of this procedure is 'certreq -accept certnew.cer'. When I execute
this command using the ASCII file produced by the export process, above, I
get the error: "The data is invalid 0x8007000d (WIN32: 13)". A note on step
4 says that the saved certificate must be encoded as base64. So I used
several base64 applications available over the web to encdoe the ASCII data.
When I feed the base64-encoded file to 'certreq -accept', I get: "ASN1 bad
tag value met. 0x8009310b (ASN: 267)".

What am I doing wrong?

Thanks
tl

Why don't you simply export base64 encoded certificate from your CA? It
will be simplest method...


--
With best regards
Nickolay Domukhovsky, MCSA
.



Relevant Pages

  • Re: Secure certificate
    ... > I am trying to Enable SSL on IIS 5.0 running under Windows ... I read following article to install the certificate ... > I have the initial certificate request file that i sent to ...
    (microsoft.public.inetserver.iis.security)
  • using the same certificate with the new machine
    ... way to get the old certificate to work on this new system. ... certificate request file as well as the response file (.crt) from ... Sunny ...
    (microsoft.public.inetserver.iis.security)
  • Secure certificate
    ... I am trying to Enable SSL on IIS 5.0 running under Windows ... I read following article to install the certificate ... I have the initial certificate request file that i sent to ...
    (microsoft.public.inetserver.iis.security)
  • IIS - SSL Certificate
    ... I have only my original certificate request file, ... this to reinstall the certificate in IIS 5.0? ...
    (microsoft.public.inetserver.iis.security)
  • Re: CAPI2 error 80093005
    ... if you select Base64 and import, ... generated certificate with our PKI ... I've added the certificate (DER encoded) ...
    (microsoft.public.inetserver.iis.security)