Client Certificate Renewal in Linux/Windows
Note
• MS Cert store is not supported.
• The NAE_IP parameter must be same in both the configuration files for client certificate renewal.
This section provide information on how client certificate renewal will be implemented in CADP For C (Linux/Windows).
Utility for Certificate Renewal
While installing CADP for C, if you chose to proceed with registration token, the installer internally calls 'cadp_for_basic' utility with registration token to register a client.
The utility returns the following status:
Success:
Linux - An entry (job) for client certificate renewal is added to the Crontab.
Windows - An entry (job) for client certificate renewal is added to the Window Task Scheduler.
Failed: Check the 'cadp_c_basic.log' file for the reason.
The cadp_for_basic utility can be called through the following ways:
Manually
To call the utility manually, execute the following command:
Auto
A scheduler for certificate renewal is automatically added to:
Crontab (Linux)
Windows Task Scheduler (Windows) - A task
CipherTrust\CADP_for_C\Cert_Expiry_Check_n_Update
is added to the Windows Task scheduler.
This scheduler will run daily at 12:00 p.m. (as per Client system timezone). If the certificates are due for renewal, the utilities present in the installed directory will update the certificates and configuration file to renew the certificates.
where,
renew_cert: is the utility that checks expiration time of the certificates for the time interval (x) between 90 to 60 days and shows a notification log 'Your certificates are going to be renewed in next
days' incadp_c_basic.log
. Here,<x>
will be60 <= x <=90
.If the remaining time is equal to 60 days it will renew the certificates and shows a notification log 'Your certificates are auto renewed successfully' in
cadp_c_basic.log
.force_update: If this flag is given along with
--renew_cert
, then utility will not check remaining time of certificates expiration and will forcefully renew the certificates at that instant and shows a notification log 'Your certificates are renewed successfully' incadp_c_basic.log
.
This utility also provides a feature to return the number of days remaining for certificate expiration by executing the following command:
Example
Output:
Client Cert Expiration Days Remaining: <x>
Sample Commands
Linux
To fetch the number of days remaining for certificate expiration:
To force renew the certificates:
Windows
To fetch the number of days remaining for certificate expiration:
To force renew the certificates: