mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-06-19 01:06:52 +00:00
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.
This commit is contained in:
parent
ecf10f1fdc
commit
01be6ca577
6 changed files with 206 additions and 87 deletions
pkg/app
|
@ -52,7 +52,7 @@ func (app *app) cmdInstall(cmdCtx context.Context, args []string) error {
|
|||
// validation done
|
||||
|
||||
// make p15 file
|
||||
apcFile, err := app.pemToAPCP15(keyPem, certPem, "install")
|
||||
apcFile, _, err := app.pemToAPCP15s(keyPem, certPem, "install")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue