Enabling trust between the server and the object storage
To enable trust between the server and the object storage
- Upload the organizational CA certificate file to the management server in PEM format.
Clone a truststore from within the container by using this command:
docker cp model9-v2.x.x:/opt/java/openjdk/lib/security/cacerts $MODEL9_HOME/keys/cacertsImport the storage certificate into the truststore as a trusted certificate.
keytool -import -trustcacerts -keystore /data/model9/keys/cacerts -storepass changeit -noprompt -alias rootCA -file '/path/root CA file'If you are asked the question Trust this certificate? answer YES.
Edit the model9.env file. To the EXTRA_JVM_ARGS parameter, add -Djavax.net.ssl.trustStore=/model9/keys/cacerts .
Add the following to the model9-local.yml file:
model9.objstore.endpoint.no.verify.ssl: falseStop and remove the container:
docker stop model9.v<v.r.m>
docker rm model9.v<v.r.m>- Start the container by using the docker run command located in the Installing the management server topic.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*