Mariadb driver not working, can't access the server #161
-
Hi, I tried to install Ejbca on Wildfly 26, following the instructions found here: https://doc.primekey.com/ejbca/ejbca-installation/application-servers/wildfly-26 - except for the HSM installation, which I don't do. However, I have these recurrent problems: 1 - I follow all the instructions, sometimes skipping the optional instructions. Tried with 2 and 3 port separation. After importing the superadmin.p12 to Firefox, I still get SSL_ERROR_HANDSHAKE_FAILURE_ALERT. I could access the public site (http, not https) at port 8080. 2 - If I restart the wildfly service, then the logs tell me that the httpsTS keystore fails to start, and that the MariaDB driver isn't installed:
I've tried installing from scratch a few times, but end up with these two problems every time. Any hints on how to get this done? Best, Francis |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It looks like you are copying files to the wildfly directories as root, while WildFly is not running as root. WildFly can then not read your files. That is why you get: Fix permissions on your files so that WildFly can read them. |
Beta Was this translation helpful? Give feedback.
It looks like you are copying files to the wildfly directories as root, while WildFly is not running as root. WildFly can then not read your files. That is why you get:
java.io.FileNotFoundException: /opt/wildfly/standalone/configuration/keystore/truststore.jks (Permission denied)
Fix permissions on your files so that WildFly can read them.