EJBCA Rest Client enabled: still showing this service has been disabled #199
Replies: 4 comments 1 reply
-
Hi! Same issue with the latest ejbca-ce container. |
Beta Was this translation helpful? Give feedback.
-
@JibinNajeeb : Looking at #201, it looks like you got it working. Although I could reproduce it on the container. |
Beta Was this translation helpful? Give feedback.
-
Ok, it has to do with trying to use the REST API with the browser. In the log file you can see: Custom header for browser calls is absent with forbidden header: HttpServletRequestImpl [ GET /ejbca/ejbca-rest-api/v1/certificate/CN%3DManagement%20CA%2CO%3DPK%2CC%3DSE/1234567890ABCDEF/revocationstatus Using CURL it works fine, example command: Response: You can find a setting for this below the protocol configuration, as "Security measures for REST endpoint", uncheck "Mandate custom header for REST endpoint" and it works from the browser as well. |
Beta Was this translation helpful? Give feedback.
-
I am getting below error. Tested in 7.9.0.2 |
Beta Was this translation helpful? Give feedback.
-
Hi, I have followed the docker instruction to run EJBCA-CE.
docker run -it --rm -p 80:8080 -p 443:8443 -h mycahostname primekey/ejbca-ce
It is showing service is disabled.
Could anyone please help, what is it I'm doing wrong?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions