Commit graph

9 commits

Author SHA1 Message Date
Greg T. Wallace
f0253ccaf2 create: set file permissiosns to owner only 2024-06-04 18:59:36 -04:00
Greg T. Wallace
da84a7b085 debug: add base64 encoded debug files
When troubleshooting it is helpful to put the generated files into an asn1 decoder. The files can be copy/pasted easily in b64 format.

This change creates b64 files when the debug flag is set to make this process easier.
2024-06-04 18:59:36 -04:00
Greg T. Wallace
01be6ca577 add p15 key output file
The NMC Security Wizard can also produce .p15 files that contain just a private key. Add this ability to this tool.

When the `create` function is used, both files will be outputted.
2024-06-04 18:59:36 -04:00
Greg T. Wallace
2b46f33af8 add optional webui restart 2024-02-05 18:25:55 -05:00
Greg T. Wallace
201aedce1c simplify logging 2024-02-03 11:38:31 -05:00
Greg T. Wallace
27b7288e07 create/install: add support for key pem in args 2024-02-02 18:35:22 -05:00
Greg T. Wallace
a089d12c87 add install function
install pem files directly to an apc ups
2024-02-02 18:35:21 -05:00
Greg T. Wallace
d94a10b949 cleanup extra args logging / logic 2024-02-02 18:35:20 -05:00
Greg T. Wallace
3b611b06e4 app: minor reorg
* add version number
* add more logging
* add command/subcommand
2024-01-28 11:16:26 -05:00