* @throws GridCAException if the certificate can not be renewed
*/
public X509Certificate renewDaemonCertificate(String daemon, int days) throws GridCAException {
LOGGER.entering("GridCAImpl", "renewDaemonCertificate");
Expect pb = createProcess();
pb.command().add("-renew_sdm");
pb.command().add(daemon);
pb.command().add("-days");
pb.command().add(Integer.toString(days));
execute(pb);