|
@@ -731,7 +731,7 @@ class StoneVPN:
|
|
|
print "Creating empty CRL file at %s" % self.crlfile
|
|
|
cacert = self.load_cert(self.cacertfile)
|
|
|
cakey = self.load_key(self.cakeyfile)
|
|
|
- newCRL = crl.export(cacert, cakey, days=90)
|
|
|
+ newCRL = crl.export(cacert, cakey, days=3650)
|
|
|
f=open(self.crlfile, 'w')
|
|
|
f.write(newCRL)
|
|
|
f.close()
|
|
@@ -1264,7 +1264,7 @@ class StoneVPN:
|
|
|
crl.add_revoked(revoked)
|
|
|
cacert = self.load_cert(self.cacertfile)
|
|
|
cakey = self.load_key(self.cakeyfile)
|
|
|
- newCRL = crl.export(cacert, cakey, days=20)
|
|
|
+ newCRL = crl.export(cacert, cakey, days=3650)
|
|
|
f.write(newCRL)
|
|
|
f.close()
|
|
|
shutil.move(indexdb,indexdb + '.old')
|