I am using the Keycloak version 14.0 and i am trying to export a specific realm using the standalone.sh script by executing the below mentioned command
sh -c ‘echo $$;export KEYCLOAK_EXT_URL=’‘; exec /opt/jboss/keycloak/bin/standalone.sh -Djboss.socket.binding.port-offset=98 -Dkeycloak.migration.action=export -Dkeycloak.migration.realmName=<REALM_NAME>-Dkeycloak.migration.provider=dir -Dkeycloak.migration.dir=/tmp/realms/ -c=standalone-ha.xml’ | { read pid; while read -r line; do echo “$line”; test “$line” = “${line% Export finished successfully}” || kill $pid; done; }
i am getting the following error
SQLException occurred while connecting to postgres.server.local:5432: org.postgresql.util.PSQLException: FATAL: SSL connection is required. Please specify SSL options and retry.
I have checked all standalone-ha.xml ssl related parameters and all the ssl related parameter is properly set for example
<connection-jdbc:postgresql://${env.DB_ADDR:}:${env.DB_PORT:}/${env.DB_DATABASE:}${env.JDBC_PARAMS:}
Please help