- Keep the name of the certificates the same as the old certificates to avoid changing them manually in all files.
If Usher is being used, please do the following:
- Delete the existing /opt/usher/ssl/server.key, /opt/usher/ssl/server.crt, /opt/usher/ssl/intermediate.crt
- Download new files, with appropriate names, to /opt/usher/ssl
- Create a new Server CA by running cat /opt/usher/ssl/server.crt > /opt/usher/ssl/serverca.pem
- Append remaining new certificates to Server CA by running cat /opt/usher/ssl/server.key /opt/usher/ssl/intermediate.crt /opt/usher/ssl/self-server.crt >> /opt/usher/ssl/serverca.pem
- Run cp -f /opt/usher/ssl/server.crt /opt/usher/usherserver/usherApps/shardIDM/webapps/files/saml2.crt
For the Collaboration Server. run the following:
NOTE: These instructions apply to Strategy 10.9 and upwards, where the "Library" application was referred to as "StrategyLibrary". For older versions back to 10.6, this was named "StrategyConsumer"; replace references to that when appropriate.
- Delete the existing Collab-Server keystore by running rm -rf /opt/mstr/MicroStrategy/install/CollaborationServer/keystore.pfx
- Create a new keystore by running openssl pkcs12 -export -out /opt/mstr/MicroStrategy/install/CollaborationServer/keystore.pfx -inkey /opt/usher/ssl/self-server.key -in /opt/usher/ssl/self-server.crt -passout pass:changeit
- Delete the existing Library keystore by running rm -rf /opt/apache/tomcat/latest/webapps/MicroStrategyLibrary/WEB-INF/truststore.pfx
- Generate a new one by running keytool -noprompt -import -trustcacerts -alias collab-service -file /opt/usher/ssl/server.crt -file /opt/usher/ssl/intermediate.crt -keystore /opt/apache/tomcat/latest/webapps/MicroStrategyLibrary/WEB-INF/truststore.pfx
- Delete the existing rest server keystore by running /opt/usher/ssl/keystore.jks
- Generate the new rest server keystore by running keytool -noprompt -genkey -keyalg RSA -alias adminrest -keystore /opt/usher/ssl/keystore.jks -validity 3600 -keysize 2048 -dname \"CN=StrategyCloud, OU=Cloud, O=Strategy, L=Tysons, S=VA, C=US\" -storepass changeit -keypass changeit
- Add the Rest Server cert to the Rest Server keystore by running keytool -noprompt -export -keystore /opt/usher/ssl/keystore.jks -storepass changeit -alias adminrest -file /opt/usher/ssl/adminrest.crt
- See if the Java keystore has the Rest Server cert by running keytool -list -keystore /opt/jdk/java/jre/lib/security/cacerts -storepass changeit -alias adminrest; if it DOES have it, run keytool -noprompt -delete -alias adminrest -keystore /opt/jdk/java/jre/lib/security/cacerts -storepass changeit
- Add the Rest Server cert to the Java keystore by running keytool -noprompt -import -trustcacerts -alias adminrest -file /opt/usher/ssl/adminrest.crt
- Set the Java keystore by running keytool -noprompt -import -trustcacerts -alias adminrest -file /opt/usher/ssl/adminrest.crt -keystore /opt/jdk/java/jre/lib/security/cacerts -storepass changeit