Browse Source

create tables

master
Andrea Cimbalo 7 years ago
parent
commit
896139c991
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      manager.py

+ 5
- 0
manager.py View File

@ -35,6 +35,11 @@ class CAManager(object):
self.request = RequestLookup()
self.certificate = CertificateLookup()
# Create tables
SSHAuthority.create_table(fail_silently = True)
SSLAuthority.create_table(fail_silently = True)
Certificate.create_table(fail_silently = True)
@property
def ssh_ca_dir(self):
return os.path.join(self.path, 'ssh_cas')


Loading…
Cancel
Save