Hi everyone,
[I am using OpenXPKI CE]

I am facing an issue for a while now regarding rpc, for instance I make the
following calls:

curl --insecure -k -F "common_name=itm1level.app.corp.dsa.de:itm1level" \
https://192.168.98.134/rpc/enroll/SearchCertificate

curl --insecure -k -F "common_name=CN=itm1level.app.corp.dsa.de:itm1level"
\ https://192.168.98.134/rpc/enroll/SearchCertificate

curl --insecure -k -F "common_name=CN=itm1level.app.corp.dsa.de" \
https://192.168.98.134/rpc/enroll/SearchCertificate

curl --insecure -k -F "common_name=itm1level.app.corp.dsa.de" \
https://192.168.98.134/rpc/enroll/SearchCertificate

..... and I get the same error every time:
{"error":{"message":"Missing or invalid parameters: The following fields do
not match the expected type of
value","data":{"fields":[{"error":"I18N_OPENXPKI_UI_VALIDATOR_EMPTY_BUT_REQUIRED","name":"common_name"}]},"code":40004}}

when I hardcode a value in the  _map_cert_subject in
certificate_search.yaml in the
/etc/openxpki/config.d/realm/democa/workflow/def I get good results, but
when the field _map_cert_subject is dynamic, I get error all the time.

I'll appreciate some help, I am really stuck.

Best,

--
Tamara Nikolovska.
---------------------------------
Linkedin: https://www.linkedin.com/in/tamara-nikolovska-55887b16a/
Skype: nikolovska.t...@outlook.com (skype name: *nikolovska.t_94*)
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to