I have been able to load JVM properties except for http.nonProxyHosts with java11, tomcat 9.0.52, CentOS 7 (linux)
Here is my config -
CATALINA_OPTS="${CATALINA_OPTS} -Dhttp.proxyHost=https://dummy.com"
CATALINA_OPTS="${CATALINA_OPTS} -Dhttps.proxyHost=https://dummy.com"
CATALINA_OPTS="${CATALINA_OPTS} -Dhttp.proxyPort=443"
CATALINA_OPTS="${CATALINA_OPTS} -Dhttps.proxyPort=443"
CATALINA_OPTS="${CATALINA_OPTS} -Dhttp.nonProxyHosts=*.azure.net|localhost"
Output - Instead of connecting to https://vault.azure.net/.default, it is trying to connect to https://dummy.com as per logs even though I have added azure.net in the nonProxyHosts. Can anyone suggest a fix?
[reactor-http-epoll-2] ERROR com.azure.identity.ManagedIdentityCredential - Azure Identity => ERROR in getToken() call for scopes [https://vault.azure.net/.default]: ManagedIdentityCredential authentication unavailable. Connection to IMDS endpoint cannot be established, https://dummy.com
[reactor-http-epoll-2] ERROR com.azure.identity.implementation.IdentityClient - ManagedIdentityCredential authentication unavailable. Connection to IMDS endpoint cannot be established, https://dummy.com