mirror of
https://github.com/certbot/certbot.git
synced 2026-06-14 19:20:09 -04:00
Set CSR version in make_csr
This commit is contained in:
parent
77d606d8aa
commit
7aa5edb212
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ def make_csr(key_str, domains):
|
|||
value=", ".join("DNS:%s" % d for d in domains)
|
||||
),
|
||||
])
|
||||
req.set_version(2)
|
||||
req.set_pubkey(pkey)
|
||||
req.sign(pkey, "sha256")
|
||||
return tuple(OpenSSL.crypto.dump_certificate_request(method, req)
|
||||
|
|
|
|||
Loading…
Reference in a new issue