Since Windows 2003 Standard CA does not support the creation of
Certificate Templates. I would like to ask if its possible to change the
validity time from the issued certificates?
I found a description through the registry, but this does not work for
me: http://support.microsoft.com/?scid=kb%3Ben-us%3B254632&x=7&y=16
Regards
Tashi
The validity of a certificate will be the lowest of the following values:
1. The lifetime remaining for the issuing CA's certificate.
2. The value in the certificate template (not applicable in your case).
3. The registry entries described in the KB article you posted.
Either the lifetime remaining in the issuing CA's certificate is less than
the desired lifetime for certificates you want to issue or you've made a
mistake with the registry entries.
On your CA, run the following two commands and then post the output:
certutil -getreg ca\validityperiod
certutil -getreg ca\validityperiodunits
--
Paul Adare
MVP - Identity Lifecycle Manager
http://www.identit.ca
> The validity of a certificate will be the lowest of the following values:
>
> 1. The lifetime remaining for the issuing CA's certificate.
> 2. The value in the certificate template (not applicable in your case).
> 3. The registry entries described in the KB article you posted.
>
> Either the lifetime remaining in the issuing CA's certificate is less than
> the desired lifetime for certificates you want to issue or you've made a
> mistake with the registry entries.
>
> On your CA, run the following two commands and then post the output:
>
> certutil -getreg ca\validityperiod
> certutil -getreg ca\validityperiodunits
Hi Paul
Here is the Output from the certutil:
----------
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\CIRRUSCA\ValidityPeriod:
ValidityPeriod REG_SZ = Years
CertUtil: -getreg command completed successfully.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\CIRRUSCA\ValidityPeriodUnits:
ValidityPeriodUnits REG_DWORD = 4
CertUtil: -getreg command completed successfully.
----------
The CA Certificate is valid for 10 Years. I upload a screenshot from the
CA Certificate.
http://img357.imageshack.us/my.php?image=screenhunter29rp3.jpg
When I submit a certificate request I get certificates with only 2 years
validity.
http://img375.imageshack.us/my.php?image=screenhunter30sn0.jpg
> Hi Paul
>
> Here is the Output from the certutil:
How is the certificate request being generated? On the details tab of an
issued certificate, what if anything is listed in the Certificate Template
Information field?
The certificate request is generated from a SAP System. The SAP Admin
gave me the request to sign it.
In Details, Certificate Template Name there is the Entry WebServer. This
is the standard Web Server Template. I use the CA Web Service to sumbit
the request.
> The certificate request is generated from a SAP System. The SAP Admin
> gave me the request to sign it.
> In Details, Certificate Template Name there is the Entry WebServer. This
> is the standard Web Server Template. I use the CA Web Service to sumbit
> the request.
Try using certreq.exe to submit the request rather than the web page.
"Paul Adare" <pka...@gmail.com> wrote in message
news:17m9xc4avecfp.14vo15szsx1am$.dlg@40tude.net...
I tried certreq -submit -attrib "CertificateTemplate:Webserver"
<filename> but I get still two years validity. I also tried requesting a
certificate over a IIS. Same here.
I do certutil -dump command. But I can`t see any validity time. But SAP
Admin tells me the request is configures for 20 years validity.
I restart the CA Server and even the Server. But It does not work. And I
also do the following certutil commands:
certutil -getreg ca\validityperiod
certutil -getreg ca\validityperiodunits
And they tell me my correct configured validity time. As done in the
registry.
> I tried certreq -submit -attrib "CertificateTemplate:Webserver"
> <filename> but I get still two years validity. I also tried requesting a
> certificate over a IIS.
The point with certreq was not use a template. If you use the Webserver
template you're going to get a 2 year cert no matter what you do as that is
the lifetime for a Webserver template.
If I dont use a Template, I get the following Error:
"The request contains no certificate template information"
Our CA is a Enterprise CA not Stand-alone. I read in the Technet,
Enterprise CA needs Templates to sign a request.
> Our CA is a Enterprise CA not Stand-alone. I read in the Technet,
> Enterprise CA needs Templates to sign a request.
Ok, then you're either going to have to live with the 2 year certs or
upgrade your CA to Enterprise Edition and then you can use V2 templates and
increase the validity period.