class Acme::Client::SelfSignCertificate
def generate_certificate
def generate_certificate certificate = OpenSSL::X509::Certificate.new certificate.not_before = not_before certificate.not_after = not_after Acme::Client::Util.set_public_key(certificate, private_key) certificate.version = 2 certificate.serial = 1 certificate end