Domain certificates
As part of most of the integrations that RSpace has with third-party services, RSpace makes network requests either to fetch or push data to their respective servers. So that RSpace can ensure the identity of those servers, valid domain certificates are required. Where the certificate for a domain is self-signed (for example because the third-party service is hosted by yourselves) or the certificate is signed by certificate authority that RSpace does not recognise it is necessary to manually add the trusted certificate. To do so, run the following command, substituting $PATH
for the path to a file containing the certificate, $DOMAIN
for the domain in question, $JAVA_HOME
points to where the Java runtime environment is installed, and $PASSWORD
is the keystore password.
keytool -import -trustcacerts -file $PATH -alias $DOMAIN -keystore $JAVA_HOME/lib/security/cacerts -storepass $PASSWORD
For more information see Import the Certificate as a Trusted Certificate