Replies: 1 comment 5 replies
-
Can anyone help in above query |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Guys, I have create a container with EJBCA CE 8.0 on ubuntu with mysql as external DB residing on separate server. It is working correctly. Today I tried to create a 2nd container using the same DB and it is not generating new SSL for container # 2. Can anyone suggest where I am doing the mistake.
Attach is the log for reference in which I can see that my ManagementCA is not active or accessible but when I check it from container 1 it is active.
FE-pki-dev-27112024_2_log.txt
I use below commands to create the containers.
Container 1 (Created 1 Year Ago)
docker run -it -p 81:8080 -p 444:8443 --name pki-dev1 -h onsite-dev1.test.com -e TLS_SETUP_ENABLED="true" -e PASSWORD_ENCRYPTION_KEY="12345" -e CA_KEYSTOREPASS="12345" -e EJBCA_CLI_DEFAULTPASSWORD="12345" -e HTTPSERVER_HOSTNAME="onsite-dev1.test.com" -e ADMINWEB_ACCESS="true" -e DATABASE_JDBC_URL="jdbc:mariadb://172.16.2.1:3306/pilotdb2?characterEncoding=UTF-8" -e DATABASE_USER="ejbca_dev" -e DATABASE_PASSWORD="12345678" -e ENABLE_DATABASE_SCHEMA_N_CONN_TEST="true" -e LOG_LEVEL_APP_WS_TRANSACTIONS="DEBUG" -e SMTP_DESTINATION="mail.test.com" -e SMTP_FROM="[email protected]" -e SMTP_USERNAME="[email protected]" -e SMTP_PASSWORD="12345" -e LOG_LEVEL_APP="DEBUG" keyfactor/ejbca-ce
Container 1 (Created Today 27-Nov-2024)
docker run -it -p 83:8080 -p 446:8443 --name pki-dev2 -h onsite-dev1.test.com -e TLS_SETUP_ENABLED="true" -e PASSWORD_ENCRYPTION_KEY="12345" -e CA_KEYSTOREPASS="12345" -e EJBCA_CLI_DEFAULTPASSWORD="12345" -e HTTPSERVER_HOSTNAME="onsite-dev1.test.com" -e ADMINWEB_ACCESS="true" -e DATABASE_JDBC_URL="jdbc:mariadb://172.16.2.1:3306/pilotdb2?characterEncoding=UTF-8" -e DATABASE_USER="ejbca_dev" -e DATABASE_PASSWORD="12345678" -e ENABLE_DATABASE_SCHEMA_N_CONN_TEST="true" -e LOG_LEVEL_APP_WS_TRANSACTIONS="DEBUG" -e SMTP_DESTINATION="mail.test.com" -e SMTP_FROM="[email protected]" -e SMTP_USERNAME="[email protected]" -e SMTP_PASSWORD="12345" -e LOG_LEVEL_APP="DEBUG" keyfactor/ejbca-ce
My container 2 gets created but the SSL was not issued under ManagementCA. When I checked the SSL it was issued as self signed for 10 years.
Please help...
Beta Was this translation helpful? Give feedback.
All reactions