Skip to content
Snippets Groups Projects
Commit 9f1f3e2c authored by Pavel Kácha's avatar Pavel Kácha
Browse files

RA command line works with the new config

parent 78a99964
No related branches found
No related tags found
No related merge requests found
...@@ -407,8 +407,9 @@ def get_args(): ...@@ -407,8 +407,9 @@ def get_args():
if __name__ == "__main__": if __name__ == "__main__":
args = get_args() args = get_args()
config = read_cfg(os.path.join(os.path.dirname(__file__), args.config or "warden_ra.cfg")) config = os.path.join(os.path.dirname(__file__), args.config or "warden_ra.cfg")
registry = EjbcaRegistry(**config) server = build_server(read_cfg(config))
registry = server.handler.registry
if args.verbose: if args.verbose:
print(registry) print(registry)
command = args.command command = args.command
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment