certificate.writeCertificate(fw); log.info("Overriding certificate. Expiration date is : {}", certificate.getCertificate().getNotAfter());
/** * Revokes this certificate. * * @param reason * {@link RevocationReason} stating the reason of the revocation that is * used when generating OCSP responses and CRLs. {@code null} to give no * reason. */ public void revoke(@Nullable RevocationReason reason) throws AcmeException { revoke(getLogin(), getCertificate(), reason); }
/** * Revokes this certificate. * * @param reason * {@link RevocationReason} stating the reason of the revocation that is * used when generating OCSP responses and CRLs. {@code null} to give no * reason. */ public void revoke(@Nullable RevocationReason reason) throws AcmeException { revoke(getLogin(), getCertificate(), reason); }
X509Certificate cert = certificate.getCertificate(); return new RSACertificate(cert);