Hi,

> 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}}

Try

--data "common_name=..." instead of -F "common_name...".

Cheers

Martin




_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to