Hi.

On 2023/03/03 19:39, Oliver Welter wrote:
You are sendind the values the wrong way - see 
https://openxpki.readthedocs.io/en/latest/subsystems/rpc.html

Thank you, Oliver.

I succeeded with -F option instead of --data option.
Like:
$ curl -k -F "method=RequestCertificate" -F "profile= tls-client" -F "pkcs10=$(cat 
client.pem)" https://127.0.0.1/rpc/enroll/

I had to use a new CSR and use a dash instaed of an underscore.
https://www.mail-archive.com/[email protected]/msg02248.html
https://www.mail-archive.com/[email protected]/msg02245.html

--
KAMO Tomoyuki <[email protected]>


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

Reply via email to