To edit the <install_dir>/config/cim.properties file:
- Stop Coverity Connect:Linux:
Windows:> cd <install_dir>/bin > ./cov-im-ctl stopGo to <install_dir>\bin and double click the
cov-stop-improgram. - Check and, if necessary, edit the properties as follows:
embeddedDatabase=falseThis property is set to
truewhen Coverity Connect uses an embedded database. However, after you have installed Coverity Connect with an external database, you cannot just change this value totrueto change to an embedded database.maindb.name=database_namemaindb.user=ROLE_namemaindb.url = jdbc\:postgresql\://database_server_name\:port_number/database_nameThis property value takes the form of a JDBC URL.
To configure an SSL connection to the external database, append the following query parameters to this property value and set them as described:
sslmode=disable | allow | prefer | require | verify-ca | verify-fullsslrootcert=absolute path to SSL root certificatesslcert=absolute path to client certificatesslkey=absolute path to client certificate keysslpassword=password for SSL key
The following example, shows how to configure an SSL connection to an external database with the SSL mode set toverify-fulland using the SSL root certificate/tmp/root.certfor server authentication, and the client certificate/tmp/client.cert, the certificate key/tmp/client.pk8, and the password123456for client authentication:#Mon Sep 14 11:13:39 PDT 2009 embeddedDatabase=false maindb.name=jdoe_main db.driver=org.postgresql.Driver db.dialect=org.hibernate.dialect.PostgreSQLDialect maindb.password=afy687 maindb.user=jdoe maindb.url=jdbc\:postgresql\://t-postgres-03\:5432/jdoe_main?sslmode=verify-full&sslrootcert=/tmp/root.cert&sslcert=/tmp/client.cert&sslkey=/tmp/client.pk8&sslpassword=123456 dir.log=/usr/local/jdoe/CIM/server/base/logs commitPort=9090 dir.temp=/usr/local/jdoe/CIM/server/base/temp
You must restart Coverity Connect for your changes to take effect.