File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ def randint(self):
5555 backports
5656 getter
5757 Arndt
58+ del
5859 """
5960
6061 def __init__ (self , ttl : float = 0 ):
Original file line number Diff line number Diff line change 8787 '--ca-cert-dir' ,
8888 type = str ,
8989 default = DEFAULT_CA_CERT_DIR ,
90- help = 'Default: ~/.proxy.py . Directory to store dynamically generated certificates. '
90+ help = 'Default: ~/.proxy/certificates . Directory to store dynamically generated certificates. '
9191 'Also see --ca-key-file, --ca-cert-file and --ca-signing-key-file' ,
9292)
9393
@@ -730,7 +730,7 @@ def gen_ca_signed_certificate(
730730 ca_key_path = self .flags .ca_key_file
731731 ca_key_password = ''
732732 ca_crt_path = self .flags .ca_cert_file
733- serial = self . uid
733+ serial = '%d%d' % ( time . time (), os . getpid ())
734734
735735 # Sign generated CSR
736736 if not os .path .isfile (cert_file_path ):
You can’t perform that action at this time.
0 commit comments