Re: CA Issues 2 Year cert
From: Paul Adare - MVP - Microsoft Virtual PC (padare_at_newsguy.com)
Date: 12/15/04
- Next message: Roger Abell: "Re: Reasons and examples for security"
- Previous message: TKLOSE: "CA Issues 2 Year cert"
- In reply to: TKLOSE: "CA Issues 2 Year cert"
- Next in thread: TKLOSE: "Re: CA Issues 2 Year cert"
- Reply: TKLOSE: "Re: CA Issues 2 Year cert"
- Reply: TKLOSE: "Re: CA Issues 2 Year cert"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 15 Dec 2004 09:03:07 -0500
In article <141A0811-58CB-4C2C-82ED-561CA4657759@microsoft.com>, in the
microsoft.public.security news group, =?Utf-8?B?VEtMT1NF?=
<TKLOSE@discussions.microsoft.com> says...
> I created a template, from the web server template, on my enterprise CA.
> I set it for 6 Years, so it can be used for my Cisco ACS server.
> The root is good for 20 years.
>
>
> When I request the certificate, it shows up as a 2 year certificate!
>
> Whats wrong?
>
There are 3 things that determine the maximum lifetime of a certificate:
1. The remaining lifetime of the issuing CA (which maybe less than it
would appear as a subordinate CA cannot have a lifetime longer than any
parent CAs in the chain.
2. The value specified in the template.
3. The value specified in the registry.
The shortest time wins. The default value in the registry is 2 years.
You can confirm this with the following commands:
certutil -getreg ca\ValidityPeriod
and
certutil -getreg ca\ValidityPeriodUnits
It will show Years for the first and 2 for the second. To change it, you
can issue the following command:
certutil -setreg ca\ValidityPeriodUnits 6
and then restart Certificate Services and issue a new certificate.
-- Paul Adare "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." -- Charles Babbage (1791-1871)
- Next message: Roger Abell: "Re: Reasons and examples for security"
- Previous message: TKLOSE: "CA Issues 2 Year cert"
- In reply to: TKLOSE: "CA Issues 2 Year cert"
- Next in thread: TKLOSE: "Re: CA Issues 2 Year cert"
- Reply: TKLOSE: "Re: CA Issues 2 Year cert"
- Reply: TKLOSE: "Re: CA Issues 2 Year cert"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|