Azure AD test connection issue

You must have the required privileges to edit the Apache Tomcat startup script.
Locate the Tomcat startup script.

The location of the script depends on the OS you are using. The location can be as follows:
In Microsoft™ Windows™, at %CATALINA_HOME%\bin\catalina.bat
In Unix-like systems, at $CATALINA_HOME/bin/catalina.sh

You can also do that in setenv.sh

Open the catalina.sh file for editing and add the following JAVA_OPTS option for the proxy:

JAVA_OPTS="
-Dhttp.proxyHost=<Hostname or IP address of proxy>
-Dhttp.proxyPort=<Port number of your http proxy)
-Dhttps.proxyHost=<Hostname or IP address of proxy>
-Dhttps.proxyPort=<Port number of your https proxy)
"

You may also need to co figure truststore to avoid ssl validation issues

-Djavax.net.ssl.trustStore=/opt/tomcat/bin/yourtrusttore.jks 
-Djavax.net.ssl.trustStorePassword=passphrase

Afterwards you have to restart your tomcat.

Here you can see extract from IIQ Installation Guide

1 Like