Commit graph

13 commits

Author SHA1 Message Date
Greg T. Wallace
ce9958e422 create: always produce both p15 files 2024-06-06 22:52:54 -04:00
Greg T. Wallace
dda11df624 install: add support for native ssl command
The code should auto-select the native ssl method if the ssl command is available on the UPS.

If this fails, install will drop back to the original install method used by this tool (which works on NMC2).
2024-06-06 22:52:54 -04:00
Greg T. Wallace
7dcf0f10b9 create: fix header debug file 2024-06-04 19:00:56 -04:00
Greg T. Wallace
b44b49cd19 create: add additional flag to signal creation of additional key.p15 2024-06-04 18:59:36 -04:00
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