MYSQL SSL Connection Configuration for Reporting
The MYSQL Server must be configured to accept the SSL Connection.
Get the MySQL
key-store (.jsk)
&certificate(.cert)
files from customer. The.jsk
file is required for configuration of the reporting connector, whereas the.cert
file is required for Apache Superset SSL configuration.Skeleton Project (cim-solution) already contains the default .jks files in the keystore directory.
- Replace the
mykeystore.jks
file acquired from the customer incim-solution/kubernetes/pre-deployment/reportingConnector/keystore/
directory. Navigate to
cim-solution/kubernetes/
directory and run the following command.JSkubectl create configmap -n expertflow ef-reporting-connector-keystore-cm --from-file=pre-deployment/reportingConnector/keystore/mykeystore.jks
Open the
cim-solution/kubernetes/pre-deployment/reportingConnector/reporting-connector.conf
and set themysql_dbms_additional_params
value as shown below.CODEmysql_dbms_additional_params=noDatetimeStringSync=true&useSSL=true&requireSSL=true&trustServerCertificate=true&clientCertificateKeyStoreUrl=file:///root/config/certs/mykeystore.jks&clientCertificateKeyStorePassword={KEYSTORE_PASSWORD} # Replace the {KEYSTORE_PASSWORD} with your original keystore password. Use "changeit" in case of default password.