Certificate chain

Certificate chain

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Certificate chain JB Miha 04-26-2007
Posted by JB Miha on April 26, 2007, 4:05 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hello




I have one problem with certificate chain in my windows CA setup. I have
Windows Server 2003 R2 as offline standalone root CA. That CA has self
signet certificate. Then I installed subordinate enterprise CA on Windows
Server 2003 R2. I copyed request to root CA and then exported certificate
for subordinate CA from root CA. After that I made request on IIS for
certificate.




So now I have Root certificate - Subordinate certificate - Web certificate
in chain. And I use last certificate to secure access to IIS. But when user
access site from outside and check certificate chain it goes only up to
Subordinate certificate. Is that normal?







Miha



Posted by Brian Komar on April 26, 2007, 4:42 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Thu, 26 Apr 2007 22:05:45 +0200, JB Miha wrote:

> A setup. I have
> Windows Server 2003 R2 as offline standalone root CA. That CA has self
> signet certificate. Then I installed subordinate enterprise CA on Windows
> Server 2003 R2. I copyed request to root CA and then exported certificate
> for subordinate CA from root CA. After that I made request on IIS for
> certificate.

No that is not normal.
You need to do a few things:
1) Did you configure the root CA to publish its CRL and CA Certificate to
publicly available locations. If not, you need to reconfigure and redeploy
your CAs (see the best practices white paper for details at
www.microsoft.com/pki).

2) Did you publish the root CA to the trusted root store in AD for
installation at all clients (certutil -dspublish -f certname.crt RootCA)


Brian

Posted by JB Miha on April 26, 2007, 4:58 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Root certificate has no CRL and AIA extensions. They are both empty since I
saw that on few other root certificates and you mention same thing in your
great book btw. But I don't know where to specify root certificate location.




And I pushed root certificate and subordinate certificate with GPO so
internally I have no problems with that since all domain computers have
those two certificates in local store as trusted certificates.




And this PKI is pretty much in testing phase so any redeploy of PKI is
acceptable. Currently we are using on certificate for published site to
access mail and other is on IAS server for wireless authentication.







And another thing I noticed is that I somehow configured CRL and AIA
extensions on subordinate certificate to empty too. Only certificate that
are issued by subordinate gets one CRL path. On that path is currently no
crl file but I think I will change that path to internal since we have self
signet root certificate.





Miha



Posted by Brian Komar on April 26, 2007, 6:09 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Thu, 26 Apr 2007 22:58:50 +0200, JB Miha wrote:

> Root certificate has no CRL and AIA extensions. They are both empty since I
> saw that on few other root certificates and you mention same thing in your
> great book btw. But I don't know where to specify root certificate location.
>

If you look at the book, there is a batch file that you need to run that
sets the paths for the CRL and the AIA URLs. This needs to be edited and
run at the root CA before you issue the subCA certificate.

>
>
>
> And I pushed root certificate and subordinate certificate with GPO so
> internally I have no problems with that since all domain computers have
> those two certificates in local store as trusted certificates.
>
>
OK, so your problem is with external computers? Again, they should build a
chain as long as you publish the Root CA certificate and CRL to an
externally available location (pki.company.com/certdata/files...)


>
>
> And this PKI is pretty much in testing phase so any redeploy of PKI is
> acceptable. Currently we are using on certificate for published site to
> access mail and other is on IAS server for wireless authentication.


The mail one is probably better served by purchasing a certificate from a
commercial provider. Otherwise, all people that connect must add your root
to their trusted store, and may not be willing to do that.
>
>
>
>
>
>
>
> And another thing I noticed is that I somehow configured CRL and AIA
> extensions on subordinate certificate to empty too. Only certificate that
> are issued by subordinate gets one CRL path. On that path is currently no
> crl file but I think I will change that path to internal since we have self
> signet root certificate.
>
>

This is handled by that batch file. Sounds like you removed all URLs from
the Extensions tab at the root CA. There must be URLs there to add the
locations to the subCA certificate. This is definitely why your chaining is
broken
>
>
>
> Miha

Posted by JB Miha on April 27, 2007, 3:59 am
If you were  Registered and logged in, you could reply and use other advanced thread options
I think I found what the problem is. In test environment I found out that I
should add url to root certificate's AIA extension where that certificate
can be found. But since we have holidays till Thursday I'm not able to test
in real environment.




In last two posts when I wrote about CRL I actually mean CDP and we have one
CDP that is available on http url but there is no crl file jet.




I totally agree that we should purchase certificate from one of trusted CAs
but I think those who are in charge of buying software won't be impressed.
And to be quiet hones I never checked what the pricing for those
certificates is.




And thanks for many suggestions and comments Brian.





Miha



Similar ThreadsPosted
Revoking certificate chain July 18, 2005, 2:33 pm
pfx certificate chain problem March 21, 2006, 6:35 am
"install this CA certificate chain" generates error for non-admin September 21, 2007, 1:12 pm
Include full certificate chain up with signtool sign November 9, 2007, 9:40 am
"No Certificate Templates Could Be Found" Error Message When User Requests Certificate from CA Web Enrollment Pages September 21, 2006, 1:33 pm
EFS Certificate October 6, 2006, 4:16 pm
How to buy a SSL certificate? November 20, 2006, 9:01 pm
SLL Certificate February 21, 2007, 9:29 am
pem certificate from MS CA January 11, 2008, 2:48 am
Certificate Services August 3, 2005, 12:22 pm

The site map in XML format XML site map

Contact Us | Privacy Policy