11 for sub in [ 'archive', 'ext', 'conf',
12 'private', 'private/certs', 'private/single-file',
13 'public', 'public/certs', 'public/crl', 'newcerts' ]:
14 mkdir(os.path.join(ca_base, sub))
15 os.chmod(os.path.join(ca_base, 'private'), 0700)
16 logging.info('created directory structure')