Found it! (indeed in workflow context) Thanks, Harm
On Wed, Aug 16, 2023 at 1:50 PM Oliver Welter <[email protected]> wrote: > Hi Harm, > > you should see the IP in the workflow context after adding the parameter, > logging to a textfile is AFAIR not yet implemented in OpenXPKI but you can > check your Apache log for this. > > Oliver > On 16.08.23 13:18, Harm Verhagen wrote: > > The email got sent before it was finished... retry: > > How can I log the client_ip in the EST workflow? > > > Just adding client_ip like this in est/<realm>.conf > [simpleenroll] > workflow = certificate_enroll > env = server, client_ip > > results in an error: "ERR Error running command: Illegal parameter given > for workflow activity at /usr/share/perl5/OpenXPKI/Client/Simple.pm line > 465. > > To suppress that error you can add client_ip to > realm/.../certificate_enroll.yaml::action::intitialize::input > > But still I don't get the client_ip in any of the logging (eg: audit.log) > > > Is this supported? If so, how to do this? > > -Harm > > > > _______________________________________________ > 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
