Hi Oliver,
I checked the logs and could not find anything related to the error rather
than it says the error occurred.
But then I tried changing the db to the original Maria DB (right now I am
using oracle) and then it works fine. So I suspect this is a database time
out.
Is there a way to increase the timeout period for database calls?
Thank You,
Kosala

On Mon, Dec 7, 2020 at 2:11 PM Oliver Welter <[email protected]> wrote:

> Hi Kosala,
>
> this sounds weird - check the logs of the workflow or from OpenXPKI for
> any errors or exceptions.
>
> Oliver
>
> Am 07.12.20 um 09:30 schrieb Kosala Lakshitha De Silva:
>
> Thank you Oliver,
> I will give it a try.
> I have one other question though.
> When I try the rpc endpoint to create a certificate. It works fine but
> when I set it to auto approve (approval_points: 0 in enroll.yaml) I get the
> error I18N_OPENXPKI_CLIENT_COLLECT_TIMEOUT.
> Do you have an idea about what the problem is? Have I configured
> enroll.yaml incorrectly?
> I have attached the enroll.yaml file here.
> Thank You,
> Kosala
>
> On Mon, Dec 7, 2020 at 12:59 PM Oliver Welter <[email protected]> wrote:
>
>> Hi Kosala,
>>
>> the short answer: yes, no, no
>>
>> openxpkicli exposes the API but there is no API method to create a
>> certificate. You can use the API to process a workflow from the CLI but the
>> details to do this right including access control, error handling, etc
>> requiers some in-depth knowledge and is far beyond the scope we can provide
>> here on the mailing list.
>>
>> If you need automation from the CLI, it is strongly advised to use one of
>> the enrollment interfaces.
>>
>> Oliver
>>
>> Am 07.12.20 um 02:33 schrieb Kosala Lakshitha De Silva:
>>
>> Hi,
>> I know that there is the rpc endpoint which we can use to create or
>> validate certificates.
>> But is it possible to do this with the CLI?
>> If so would it be possible to get an example on how to do it.
>> I already went through the documentation but I could not find the exact
>> commands.
>> Thank You,
>> Kosala
>>
>>
>> _______________________________________________
>> OpenXPKI-users mailing 
>> [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>
>>
>> --
>> Protect your environment -  close windows and adopt a penguin!
>>
>> _______________________________________________
>> OpenXPKI-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>>
>
>
> _______________________________________________
> OpenXPKI-users mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
>
> --
> Protect your environment -  close windows and adopt a penguin!
>
> _______________________________________________
> OpenXPKI-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openxpki-users
>
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to