Hi Yusuf, the RPC workflow expects a PEM encoded request including the header so just leave out the "outform der | base64" and it should work.
Oliver Am 27.02.22 um 10:11 schrieb yusuf demir: > Hi All; > > I am trying to request certificate over RPC. > > I have created the PKCS10 certificate by: > > openssl req -keyout /dev/null -subj "/CN=myuser" -nodes -new -newkey rsa:3072 > -outform der -out - | base64 > test.pem > When I try to request certificate by: > > curl - - form method="Requestcertificate" - - form pkcs10="`cat > test.pem`" - k https://192.168.9.21:8443/rpc/enroll > > It gives > > message:"PKCS10 request can not be read" > > errror as response. How can I make a successful certificate request? > > > _______________________________________________ > OpenXPKI-users mailing list > [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
