Hi,

thank you for the suggestion. Works without issues. From my perspective there is not even a need for a fix as long as the documentation gets updated. Would you welcome a PR against https://github.com/openxpki/openxpki/blob/develop/doc/subsystems/rpc.rst?

Best regards,
Joern


------ Original Message ------
From "Oliver Welter" <m...@oliwel.de>
To openxpki-users@lists.sourceforge.net
Date 27 Jun 2024 07:16:43
Subject Re: [OpenXPKI-users] Enrollment via RPC failes on v3.30.3

Hi Joern,

yes we broke it :/ - we are working on a fix, you might want to use a JSON Payload in the meantime (which is the prefered way and the one which was tested :D )

Oliver

On 25.06.24 14:17, Joern Mewes wrote:
Hi,

I am using your openxpi-docker repo to build openxpki containers used for my regression testing. Since roughly a week certificate enrollment via RPC fails with the following error:

curl --insecure -k -F "method=RequestCertificate" -F "profile= tls_client" -F "pkcs10=$(cat client.pem)" https://127.0.0.1:8443/rpc/enroll/

{"error":{"code":40080,"message":"No method set in request"}}

Before it was working without issues. Further, the message might be misleading as there is a "method" included in the request.

I think the issue occurred since you were releasing v3.30.3. Did the request format changed with the introduction of this release?

Any idea what I can do to troubleshoot the issue further?

rpc.log does not show more than

2024/06/25 11:12:23 ERR No method set in request [pid=127|ep=enroll].

Thank you for your help and have a nice day.
Joern


_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/openxpki-users
--
Protect your environment -  close windows and adopt a penguin!
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to