Procedure
- Add SM_TOMCAT_SERVER=https://<smarts-tomcat-server-host>:8443 in <<Base_Dir>>/SAM/smart/local/conf/runcmd_env.sh file
- Edit the server.xml file so that SAM Tomcat server can understand which secure port and protocol to use.
- Add following lines in <<Base_Dir>>/SAM/smarts/tomcat/conf/server.xml
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" keystoreFile="<<Base_Dir>>/SAM/smarts/.keystore" keystorePass="changeit" clientAuth="false" sslEnabledProtocols="TLSv1.2" /> <Connector protocol="org.apache.coyote.http11.Http11Protocol" port="8443" maxThreads="150" scheme="https" secure="true" keystoreFile="<<Base_Dir>>/SAM/smarts/.keystore" keystorePass="changeit" clientAuth="false" sslProtocol="TLS" /> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol" port="8443" maxThreads="150" scheme="https" secure="true" keystoreFile="<<Base_Dir>>/SAM/smarts/.keystore" keystorePass="changeit" clientAuth="false" sslProtocol="TLS" />
What to do next
Restart Tomcat and Presentation SAM service.