Skip to content

Commit

Permalink
fix for CSR generated using a pre-1.0.2 OpenSSL with a client that do…
Browse files Browse the repository at this point in the history
  • Loading branch information
beam committed Nov 11, 2016
1 parent 54a461f commit b7fd1d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/letsencrypt/cli/acme_wrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def cert(domains)
csr.add_attribute(attr)
end
end
csr.version = 2
csr.public_key = certificate_private_key.public_key
csr.sign(certificate_private_key, OpenSSL::Digest::SHA256.new)
certificate = client.new_certificate(csr)
Expand Down

0 comments on commit b7fd1d5

Please sign in to comment.