...
Code Block |
---|
# select folder location where the agent will be downloaded export SOFTWARE_HOME=/u01/software mkdir -p $SOFTWARE_HOME cd $SOFTWARE_HOME # DOWNLOAD either using wget -O HttpsAgentTomcatComplete.zip or curl or transfer here manually # For FlexDeploy 6.5, please use the 6.5 version of the agent. # A newer version may be available, see https://support.flexagon.com/downloads/httpsagent |
As an alternative to wget you can use curl to download the agent software from the Flexagon website.
Code Block |
---|
a/solutions/articles/5000880644 for the latest download link. wget -O HttpsAgentTomcatComplete.zip <link from support site> # or curl -L --max-redirs 5 https://flexagon.com/downloads/httpsagent <link from support site> --output HttpsAgentTomcatComplete.zip |
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
If the endpoint does not have internet access you can download the agent from the Flexagon website and transfer the zip file manually. |
Extract the zip file in the desired location (referred to as "HTTPS_AGENT_HOME" in this document).
...
Next configure the keystore password (and the location of the file if not generated in the config directory). Open up the HTTPS_AGENT_HOME/apache-tomcat-flexdeploy-https-agent/conf/server.xml file. Find the SSL connector (by default set for port 8444) and add the keystore password like this: If you made the alias tomcat, this will be enough. Otherwise, add key
Code Block | ||
---|---|---|
| ||
<Connector port="8444" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" SSLEnabled="true" keystoreFile="../config/tomcat.jks" keystorePass="KEYSTORE PASSWORD HERE"> </Connector> |
...
Code Block |
---|
keytool -import -noprompt -trustcacerts -alias tomcathttpsAgent -file httpsagent.cer -keystore "JAVA_INSTALL_PATH/jre/lib/security/cacerts" -storepass <password> |
The default password for the java keystore is changeit.
...