Re: IIS 6.0 SSL Certificate Difficulties

From: Bill Bean (Bean_at_discussions.microsoft.com)
Date: 11/07/04


Date: Sat, 6 Nov 2004 19:15:02 -0800


"Bernard" wrote:

> I haven't actually looking at Machinekeys folder when generating CSR.
> that is just a plain text file with encrypted detail of your server detail.
>
> have you actually repeat the export and import steps.
> from the log it looks like many detail is missing, I would remove
> the cert and redo again.

No, we really do know how to create, import and apply certificates. It
turns out that the problem was that some account needs 'Bypass traverse
checking' rights for this to work. (I haven't figured out exactly which one
yet, at the moment I have it down to one of the following: SYSTEM, SERVICE,
LOCAL SERVICE, NETWORK SERVICE, IUSR..., IWAM...)

It seems that changes between Windows 2000 Server and Windows 2003 Server
have greatly increased the number of accounts that must be allowed to bypass
traverse checking.

Bill Bean

>
> --
> Regards,
> Bernard Cheah
> http://www.tryiis.com/
> http://support.microsoft.com/
> http://www.msmvps.com/bernard/
>
>
>
> "Bill Bean" <Bill Bean@discussions.microsoft.com> wrote in message
> news:D0CB2E2F-3979-4702-9E75-EDC9EFB73A79@microsoft.com...
> >
> >
> > "Bernard" wrote:
> >
> > > This is very clear that :
> > > #WARNING: You DON'T have a private key that corresponds to this
> certificate
> > >
> > > when you export it, do you export the private key as well ?
> > >
> > > remove this cert, re-export with private key and import again.
> >
> > We did export with the private key. (We have done this before too :) The
> > diagnostic tool says that we DON'T have a private key but when we view the
> > certificate from the IIS Snap-in it says that "You have a private key that
> > corresponds to this certificate." Same if we view the certificate using
> the
> > Certificates Snap-in.
> >
> > Another symptom is that when we create the request on the 2003 server, the
> > certreq.txt file has a long string of A's in the middle. When we create
> the
> > request on another machine, it only has a short string of A's (maybe five
> or
> > six).
> >
> > When we create the request a file is created in C:\Documents and
> > Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys. I
> > thought that this was the private key?
> >
> > My guess - and it is just a guess - is that somehow the private key is
> being
> > created but that it is corrupt.
> >
> > Bill Bean
> >
> > >
> > >
> > > --
> > > Regards,
> > > Bernard Cheah
> > > http://www.tryiis.com/
> > > http://support.microsoft.com/
> > > http://www.msmvps.com/bernard/
> > >
> > >
> > >
> > > "Bill Bean" <Bill Bean@discussions.microsoft.com> wrote in message
> > > news:08A07406-D8F0-4BDF-8D72-72A47948E147@microsoft.com...
> > > >
> > > >
> > > > "Jacqueline Jaynes [MSFT]" wrote:
> > > >
> > > > > The results from the SSLDiag basically say that the certificate is
> > > invalid.
> > > > > Run thru the following article:
> > > > > http://support.microsoft.com/default.aspx?scid=KB;EN-US;228984
> > > > >
> > > > > It explains how to generate a certificate using Certificate
> Authority.
> > > >
> > > > We know how to generate certificate requests and issue the
> certificates.
> > > We
> > > > have done this many times. The problem is specific to the one Windows
> > > 2003
> > > > server (we have other Windows 2003 servers that work perfectly). We
> have
> > > > configured this server as a very secure bastion host. A similar
> > > > configuration on Windows 2000 worked without problems. But we are
> unable
> > > to
> > > > install a certificate successfully on the secure 2003 machine.
> > > >
> > > > We assume that this is a problem with ACLs or some other security
> setting.
> > > > We have tried to give the Everyone account administrator priviledges
> prior
> > > to
> > > > requesting/installing the certificate, to no avail.
> > > >
> > > > We have also run filemon to examine file access requests while we are
> > > > requesting/installing the certificate. We do not see any failed
> requests.
> > > >
> > > > We have also set auditing on all files to report failures, and don't
> find
> > > > any problems in the event logs.
> > > >
> > > > Any suggestions would be greatly appreciated.
> > > >
> > > > Bill Bean
> > > >
> > > >
> > > > >
> > > > > Hope this helps
> > > > >
> > > > > Thank you,
> > > > >
> > > > > Jackie Jaynes [MSFT]
> > > > > Microsoft IIS
> > > > > JackieJa@online.microsoft.com
> > > > >
> > > > > Please do not send email directly to this alias. This
> > > > > is our online account name for newsgroup participation only.
> > > > >
> > > > > This posting is provided "AS IS" with no warranties, and confers no
> > > rights.
> > > > > You assume all risk for your use. © 2001 Microsoft Corporation.
> All
> > > rights
> > > > > reserved.
> > > > >
> > > > >
> > >
> > >
> > >
>
>
>



Relevant Pages

  • Re: Unable to redirect requests to SSL port in ISA
    ... here is a way we can see wether or not the private keys are on the isa ... If you start the Certificates plugin, for the Local machine, you say you can ... Where did you get the cert that you want to use on the ISA Server? ... there is a tickbox for "Export this cert with the Private Key" ...
    (microsoft.public.isa)
  • Re: Secure VPN access
    ... with it's security option for the client. ... After getting the VPN connection I check the Ip settings and found the ... point to the head ISP's DNS server. ... > Computer certificates for L2TP/IPSec VPN connections ...
    (microsoft.public.windows.server.sbs)
  • RE: L2TP/IPSEC site-to-site question
    ... seems more difficult on Windows and Isa 2000 mix, ... If I want to use certificates what type I have to use? ... > site-to-site VPN connection. ... > Site-to-Site VPN in ISA Server 2004 ...
    (microsoft.public.isa)
  • Re: Vista wireless using IAS and WPA-Enterprise
    ... certificates, which may be more than the limit that the IAS server can send ... on a Web site or if you use IAS in Windows Server 2003 ... Vista wireless using IAS and WPA-Enterprise ...
    (microsoft.public.windows.server.networking)
  • RE: L2TP/IPSEC site-to-site question
    ... Microsoft Internet Security and Acceleration (ISA) Server 2004 ... >site-to-site vpn connection. ... >My concerns are about the certificates part. ...
    (microsoft.public.isa)

Loading