For security purposes, two-way SSL communication is established between the Cloud Object Connector component and Strategy Intelligence server. After installation, the keys are generated and configured ready-to-use in your environment.
However, these keys are not signed by the certificate authority and thus, some vulnerability scanning tools may flag these out-of-the-box (OOTB) keys as vulnerable. In those cases, refer to the following steps to replace the OOTB certificate with a user provided certificate.
1) Validate the customer provided private key and certificate file:
Make sure the key file has the "PRIVATE_KEY" string:
> type user-key.pem | findstr "PRIVATE KEY"
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
Make sure the key file has the "CERTIFICATE" string:
>type user-cert.pem | findstr "CERTIFICATE"
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
ren user_key.pem server-key.pem
ren user_cert.pem server-cert.pem
copy server-key.pem client-key.pem
copy server-cert.pem client-cert.pem
openssl pkcs12 -export -name server-cert -in server-cert.pem -inkey server-key.pem -passout pass:secret -out server-keystore.p12
keytool -import -noprompt -alias client-cert -file client-cert.pem -keystore server-truststore.p12 -storetype PKCS12 -storepass secret
keytool -list -v -keystore server-keystore.p12 | findstr Owner
Owner: CN=env-285104laiouse1.customer.cloud.Strategy.com, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
cd <MSTR_Install_path>\CloudObjectConnector\key
mkdir ootb_certificates
copy client-cert.pem ootb_certificates
copy client-key.pem ootb_certificates
copy client-keystore.p12 ootb_certificates
copy client-truststore.p12 ootb_certificates
copy server-cert.pem ootb_certificates
copy server-key.pem ootb_certificates
copy server-keystore.p12 ootb_certificates
copy server-truststore.p12 ootb_certificates
copy server-key.pem <MSTR_Install_path>\CloudObjectConnector\key
copy server-cert.pem <MSTR_Install_path>\CloudObjectConnector\key
copy client-key.pem <MSTR_Install_path>\CloudObjectConnector\key
copy client-cert.pem <MSTR_Install_path>\CloudObjectConnector\key
copy server-keystore.p12 <MSTR_Install_path>\CloudObjectConnector\key
copy server-truststore.p12 <MSTR_Install_path>\CloudObjectConnector\key
key-alias: server-cert
key-store-password: secret
....
trust-store-password: secret

change host="localhost"; to host="env-285104laiouse1.customer.cloud.Strategy.com";