Hello.

I am very new at using OpenXPKI.
I just installed the OpenXPKI on my Debian VM and run the configuration
through sampleconfig script (for learning purpose and hope that I can use
it in the future for projects).

I also tried to generate certificates with the Web UI.
And by doing that I know that maybe I just need to use the TLS Client or
People (Secure Email/Authentication) profile for certifying PDF purposes.

But I tried requesting a certificate through an API call, and I cannot
define the profile that I want to use. Because whenever I set the profile
to anything known like tls_server, tls_client, user_auth_enc it always
gives an error message: "Invalid Profile".
The process will succeed if I don't define the profile but the used profile
for making the certificate become "tls_server" by default.
And I find that I cannot find the download PKCS12 button (on certificate
details) when the certificate is generated, unlike if I generate the
certificate through Web UI the Download Private key as PKCS12 button is
shown. Because I need the PKCS12 file for certifying a  PDF.

The body that I sent to the API URL is the PKCS10 and also the profile
(string). But like I have said before, when I put the profile in the body
it just gives me Invalid profile response.

How do I request a certificate correctly through an API call? I want the
generated certificate to also  have an option for downloading the private
key as PKCS12 too just like if I request the certificate through the Web UI.

Thank you.
Cheers from Indonesia.
Regards,
Sandy Kristiawan.
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to