Update server.py

This commit is contained in:
Nova Cat 2025-01-15 14:19:36 -08:00
parent 8401bcfb83
commit 72141b19a6

View file

@ -58,7 +58,7 @@ def gencert():
cert.get_subject().L = "Earth" cert.get_subject().L = "Earth"
cert.get_subject().O = random_name cert.get_subject().O = random_name
cert.get_subject().OU = random_name cert.get_subject().OU = random_name
cert.get_subject().CN = "g2b.swee.codes" cert.get_subject().CN = "Gem2Browser user " + random_name
cert.set_serial_number(1000) cert.set_serial_number(1000)
cert.gmtime_adj_notBefore(0) cert.gmtime_adj_notBefore(0)
cert.gmtime_adj_notAfter(10*365*24*60*60) cert.gmtime_adj_notAfter(10*365*24*60*60)