Replies: 3 comments 2 replies
-
If you use an external database, all important information is stored there, and during the start/stop of the EJBCA container, the data in the existing database is used. The container, by its very nature, is not intended for you to change some kind of parameters inside the container and hope that it will remain during start/stop, because in this case the entire logic of the containers would disappear. https://hub.docker.com/r/keyfactor/ejbca-ce - describes the variables that can be used. SMTP_DESTINATION: The hostname/IP of the SMTP server that should be used for sending email, default localhost (there is no SMTP server in the container though). SMTP_DESTINATION_PORT: the SMTP port to use on the host, default 25. You can set the variables with an argument with a '-e' argument on the command line, see Quick Start for example usage. Other variables relevant for SMTP settings are SMTP_TLS_ENABLED (default true), SMTP_SSL_ENABLED (default true), SMTP_USERNAME, SMTP_PASSWORD, SMTP_FROM. |
Beta Was this translation helpful? Give feedback.
-
Well I used these variables already but now my requirement is to just add a
new port like translate port 8442 to just 442 for public web without client
authentication and secondly I need to change my smtp user password only.
How can I address this problem at hand. Do I need to create a new container
using same managementca and superadmin.
Thanks
…On Thu, Oct 19, 2023, 11:51 PM aloeenmae ***@***.***> wrote:
If you use an external database, all important information is stored
there, and during the start/stop of the EJBCA container, the data in the
existing database is used.
The container, by its very nature, is not intended for you to change some
kind of parameters inside the container and hope that it will remain during
start/stop, because in this case the entire logic of the containers would
disappear.
https://hub.docker.com/r/keyfactor/ejbca-ce - describes the variables
that can be used.
For example:
SMTP_DESTINATION: The hostname/IP of the SMTP server that should be used
for sending email, default localhost (there is no SMTP server in the
container though).
SMTP_DESTINATION_PORT: the SMTP port to use on the host, default 25.
You can set the variables with an argument with a '-e' argument on the
command line, see Quick Start for example usage. Other variables relevant
for SMTP settings are SMTP_TLS_ENABLED (default true), SMTP_SSL_ENABLED
(default true), SMTP_USERNAME, SMTP_PASSWORD, SMTP_FROM.
—
Reply to this email directly, view it on GitHub
<#387 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BCLN37DTLHLLCVMWSSJKS53YAFZC5AVCNFSM6AAAAAA6HPVDYOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGMZRGU3DE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Dear Tomas, Actually my great worry is that by changing few of environment variables I don't want my rest of all the running settings like DB, CryptoTokens, CAs and end certificates to be disturb. Correct me if I am wrong that by running the command docker run -it --rm -p 80:8080 -p 443:8443 -h mycahostname with updated environment variables and new ports doesn't create a new container, management CA and local SSL. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear All,
I created Keyfactor/ejbca-ce 8.0 docker container on ubuntu 22 with mysql (on separate VM) and web access ports 80/443 and now I want to add one more port to access wildfly management console and also want to change SMTP user password.
Can anyone confirm if just editing config.v2.json file under the container through nano/vi text editor shall reflect the changes after container restart or I have to using docker compose only for this.
Actually there is a need of port addition and SMTP user password change without disturbing my installed EJBCA setup and database. Creating new container is not an option because I already created few CAs, certificate profiles, end entity profiles with active users and certificates.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions