/RenewCert

Renew click once certificates

Primary LanguageC++Apache License 2.0Apache-2.0

RenewCert

Renew click once certificates by adding 105 years to their expiration date.

This code was originally provided by Microsoft and then modified by Cliff Stanford.

Updated to add more years to the certificate (and avoid renewing every 5 years).

Usage

renewcert <PFX File> <new cert filename> <new cert friendly name> (<password>)

Examples

With password protection:

renewcert oldcert.pfx newcert.pfx "CN=MyNewCert" MySuperSecretPassword

Without password protection:

renewcert oldcert.pfx newcert.pfx "CN=MyNewCert"

Build

Build using visual studio 2013. An express version will do.