Skip to content
Snippets Groups Projects
Commit 1415a324 authored by kaiyou's avatar kaiyou
Browse files

Fix the RSA public exponent

parent 0100e3f0
No related branches found
No related tags found
No related merge requests found
Pipeline #2437 failed
......@@ -23,7 +23,7 @@ def generate_rsa_certificate(cn):
""" Generate an RSA key and self signed certificate for SSO signing and encryption.
"""
key = primitives.asymmetric.rsa.generate_private_key(
key_size=RSA_KEY_LENGTH, public_exponent=65535,
key_size=RSA_KEY_LENGTH, public_exponent=65537,
backend=backends.default_backend()
)
now = datetime.datetime.utcnow()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment