Replies: 2 comments 3 replies
-
Did you use TLS_SETUP_ENABLED="simple"? You should not use that when you want to use client certificate authentication. |
Beta Was this translation helpful? Give feedback.
-
I was doing that yes, I have now started from scratch and used the following docker command:
Now I have got to a position where I can enrol new devices using the rest api, however only when I am using the ManagementCA.pem file and the SuperAdmin.p12 file. Trying to use a CA I have made ( using the youtube tutorials I have MyPKIRootCAG1 and MyPKISubCAG1 CA's ) and client certificate I have made ( made through web ui, enrol -> make new request -> key-pair generation by the CA ) either through Postman or using curl gives me this error: `curl: (60) SSL certificate problem: self-signed certificate in certificate chain curl failed to verify the legitimacy of the server and therefore could not From what I understand, and I am learning as I go, the CA I have created will always have a self signed certificate in the chain. The root CA ( in my case MyPKIRootCAG1 ), has to be self signed, and so any sub CA's ( in my case MyPKISubCAG1 ) must contain a CA that's self signed in the chain. So how do I get around this issue ? Why does using the ManagementCA work as that is also self signed? Do I have the wrong understanding, or am I missing a step? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have deployed ejbca using docker, deployment is successfully completed.
We are facing an issue while invoking the "certificateRequest" endpoint using the soap web service.
We also tested using the clienttool box which also returned the same error "no client certificate or OAuth token received used for authentication ".
Need your kind support.
ERROR :- ejbca | 2023-03-15 06:21:06,540+0000 DEBUG [org.ejbca.core.protocol.ws.logger.TransactionLogger] (default task-5) 2023-03-15 06:21:06.538+0000;eaafb7707f00000165f08f18b794be81;20;2;certificateRequest;org.cesecore.authorization.AuthorizationDeniedException: Error no client certificate or OAuth token received used for authentication.;${ADMIN_DN};${ADMIN_ISSUER_DN}
Beta Was this translation helpful? Give feedback.
All reactions