mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-07-04 23:36:33 +00:00
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).
This commit is contained in:
parent
06c9263bc4
commit
dda11df624
5 changed files with 77 additions and 14 deletions
pkg/app
|
@ -31,7 +31,7 @@ func (app *app) cmdCreate(_ context.Context, args []string) error {
|
|||
// validation done
|
||||
|
||||
// make p15 files
|
||||
apcKeyCertFile, keyFile, err := app.pemToAPCP15s(keyPem, certPem, "create")
|
||||
keyFile, apcKeyCertFile, err := app.pemToAPCP15(keyPem, certPem, "create")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue