lib/puppet/ssl/certificate_revocation_list.rb
# Revoke the certificate with serial number SERIAL issued by this
# CA, then write the CRL back to disk. The REASON must be one of the
# OpenSSL::OCSP::REVOKED_* reasons
Revoke the certificate with serial number SERIAL issued by this
CA, then write the CRL back to disk. The REASON must be one of the
OpenSSL::OCSP::REVOKED_* reasons
Revoke the certificate with serial number SERIAL issued by this CA then write the CRL back to disk . The REASON must be one of the OpenSSL :: OCSP :: REVOKED_ * reasons
def revoke(serial, cakey, reason = OpenSSL::OCSP::REVOKED_STATUS_KEYCOMPROMISE)
    Puppet.notice "Revoked certificate with serial #{serial}"
    time = Time.now
    add_certitificate_revocation_for(serial, reason, time)
    update_to_next_crl_number
    update_valid_time_range_to_start_at(time)
    sign_with(cakey)
    Puppet::SSL::CertificateRevocationList.indirection.save(self)
  end
def revoke ( serial , cakey , reason = OpenSSL :: OCSP :: REVOKED_STATUS_KEYCOMPROMISE ) Puppet . notice "Revoked certificate with serial #{serial}" time = Time . now add_certitificate_revocation_for ( serial , reason , time ) update_to_next_crl_number update_valid_time_range_to_start_at ( time ) sign_with ( cakey ) Puppet :: SSL :: CertificateRevocationList . indirection . save ( self ) end
Revoke the certificate with serial number SERIAL issued by this
CA, then write the CRL back to disk.
Revoke the certificate with serial number SERIAL issued by this CA then write the CRL back to disk .
serial
<not_specific>
cakey
<not_specific>
reason
<not_specific>