Replies: 3 comments 10 replies
-
Replying to myself but perhaps Mandating a custom header for the API call is mandatory for "external" access |
Beta Was this translation helpful? Give feedback.
-
Curl seems to work now at least, although the browser doesn't but I'm guessing that the custom header is "required" for browsers but not things like curl so that might be the reason |
Beta Was this translation helpful? Give feedback.
-
I mentioned this, which is in System Configuration. But bo, typically you do not use a web browser to call a REST API, you typically want to prevent this in fact. |
Beta Was this translation helpful? Give feedback.
-
I'm using ejbca-ce inside a docker container. I've enabled all the services possible under the system configuration - protocols page and I seem to be able to access the rest API endpoints if I exec into the container and access it via localhost it works: For example
curl -s https://localhost:8443/ejbca/ejbca-rest-api/v1/certificate/status
However when I access it externally via the hostname, in a web browser like this:
https://myhostname.mydomainname:8443/ejbca/ejbca-rest-api/v1/certificate/status
It just returns "This service has been disabled." I am authenticated using an x509 cert. How do I enable external access as it doesn't appear to be obvious from the documenation? Thanks
Beta Was this translation helpful? Give feedback.
All reactions