Update server.py
This commit is contained in:
parent
8401bcfb83
commit
72141b19a6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue