Apply for or renew a certificate