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).
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 using visual studio 2013. An express version will do.