Setting the flags for SSL in Tomcat

To set the secure and httponly flags in Tomcat, perform the following changes in the .xml server of Tomcat.

About this task

<Connector port="7003" protocol="org.apache.coyote.http11.Http11NioProtocol"             
maxThreads="150" SSLEnabled="true" scheme="https" acceptCount="100" clientAuth="false"     
disableUploadTimeout="true" enableLookups="false" secure="true" sslProtocol="TLS" keystoreFile="/opt/v12.1/v12.1.0.1.1/Campaign/SSL_NEW/PlatformClientIdentity.jks" keystorePass="password" >     </Connector>