+++ /dev/null
-
-import os
-from cfg import *
-from paths import *
-
-fields = [
- ('conf', 'OpenSSL configuration file'),
- ('rsa_key', 'RSA private key'),
- ('rsa_crt', 'RSA certificate'),
- ('dsa_key', 'DSA private key'),
- ('dsa_crt', 'DSA certificate'),
- ('dsa_parms', 'DSA parameters'),
- ('public_crt', 'public certificates bundle'),
- ('singlefile', 'single cert. file (with keys)')
- ]
-
-def files(tag):
- print '''
-
-Files related to the '%s' certificates:
-
-''' % tag
- for k, desc in fields:
- p = getpath(k, tag)
- star = ' '
- if not os.path.exists(p):
- star = '*'
- print '%-30s %s%s' % (desc, star, p)
-
- print '(* = not found)'
- print
-