The setting ejbca.productionmode affect build-time, so without the setting enabled during (java) build the swagger code (a separate war deployment in the ejbca.ear) is not included at all. So it's not possible to enable easily in the container without overriding the ear deployment file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I just deployed the latest EJBCA CE with docker, but I don't see Swagger-UI nor Docs? What I'm doing wrong? I set ejbca.productionmode to false
and then launch ejbca container.
I enabled rest-api functionality after EJBCA is up & running
but there is no swagger-ui as described in the EJBCA documentation https://doc.primekey.com/ejbca/ejbca-operations/ejbca-ca-concept-guide/protocols/ejbca-rest-interface#EJBCARESTInterface-SwaggerUIswagger
Is the Swagger-UI only accessible for EJBCA Enterprise version?
Thanks
Any suggestions?
The setting ejbca.productionmode affect build-time, so without the setting enabled during (java) build the swagger code (a separate war deployment in the ejbca.ear) is not included at all. So it's not possible to enable easily in the container without overriding the ear deployment file.