From b87f0c6608acafd609409030355a76da2ec5f5f8 Mon Sep 17 00:00:00 2001 From: harrison314 Date: Thu, 21 Mar 2024 18:25:10 +0100 Subject: [PATCH] Fix GenerateCsrCommand. --- src/Src/BouncyHsm.Cli/Commands/Pkcs/GenerateCsrCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Src/BouncyHsm.Cli/Commands/Pkcs/GenerateCsrCommand.cs b/src/Src/BouncyHsm.Cli/Commands/Pkcs/GenerateCsrCommand.cs index 96aa158..b7f3242 100644 --- a/src/Src/BouncyHsm.Cli/Commands/Pkcs/GenerateCsrCommand.cs +++ b/src/Src/BouncyHsm.Cli/Commands/Pkcs/GenerateCsrCommand.cs @@ -67,7 +67,7 @@ public override async Task ExecuteAsync(CommandContext context, GenerateCsr await AnsiConsole.Status() .StartAsync("Creating...", async ctx => { - Pkcs10Dto result = await client.Pkcs_GetPkcsObjectsAsync(settings.SlotId, new GeneratePkcs10RequestDto() + Pkcs10Dto result = await client.Pkcs_GeneratePkcs10Async(settings.SlotId, new GeneratePkcs10RequestDto() { PrivateKeyId = settings.PrivateKeyId, PublicKeyId = settings.PublicKeyId,