Add option to specify certificate expiration (in days)