Skip to content

Commit

Permalink
Example should default to RSA 2048 not ECC
Browse files Browse the repository at this point in the history
  • Loading branch information
tr1ck3r authored Nov 5, 2021
1 parent 290e0f4 commit 99eedf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/get_cert.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def main():
#]

# configure key type, RSA example
# request.key_type = KeyType(KeyType.RSA, 4096)
request.key_type = KeyType(KeyType.RSA, 2048)
# or set it to ECDSA
request.key_type = KeyType(KeyType.ECDSA, "p521")
# request.key_type = KeyType(KeyType.ECDSA, "p521")
# Update certificate request from zone
zone_config = conn.read_zone_conf(zone)
request.update_from_zone_config(zone_config)
Expand Down

0 comments on commit 99eedf3

Please sign in to comment.