...
On each tomcat server, from the /opt/abiquo/tomcat/conf folder, back up the server.xml files. For example, for the API server:
Code Block # cd /opt/abiquo/tomcat/conf # cp server.xml ~/server.api.backup.xml
You will need to restore these files after the upgrade.
Before you restart the tomcat servers, do these steps.
- Restore the backup of the server.xml files from their backups
Edit the server.xml files and add the new secretRequired="false" option to the HTTPS connector
Code Block <Service name="Catalina"> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol" port="8009" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreFile="/opt/abiquo/tomcat/conf/remoters.jks" keystorePass="changeit" keyAlias="myremoters.bcn.abiquo.com" clientAuth="false" secretRequired="false" sslProtocol="TLS"/>
If you have a separate API and UI server, on the API server, edit the server.xml file and allow the AJP connector to listen everywhere, not just on localhost, by setting address="0.0.0.0". Also add secretRequired="false".
Code Block <Connector port="8010" protocol="AJP/1.3" enableLookups="false" tomcatAuthentication="false" connectionTimeout="20000" secretRequired="false" address="0.0.0.0" />
...