Tech Tip – How to enable SSL Debugging in Administrative UI

How to enable SSL Debugging in AdminISTRATIVE UI ?

 

Instructions

The SSL Debugging can be enabled by adding the following to the JVM startup option: -Djavax.net.debug=all. The debug logs will be outputted to server.log.

This can be done as following :

R12.52SP2 and above

Modify the standalone.bat located at <AdminUI_Install_Directory>\adminui\bin as follow :

Change :

:RESTART

rem if x%XLOGGC% == x (

“%JAVA%” %JAVA_OPTS% ^

“-Dorg.jboss.boot.log.file=%JBOSS_LOG_DIR%\server.log” ^

“-Dlogging.configuration=file:%JBOSS_CONFIG_DIR%/logging.properties” ^

-jar “%JBOSS_HOME%\jboss-modules.jar” ^

-mp “%JBOSS_MODULEPATH%” ^

-jaxpmodule “javax.xml.jaxp-provider” ^

org.jboss.as.standalone ^

“-Djboss.home.dir=%JBOSS_HOME%” ^

%SERVER_OPTS%

To,

:RESTART

rem if x%XLOGGC% == x (

“%JAVA%” %JAVA_OPTS% ^

“-Dorg.jboss.boot.log.file=%JBOSS_LOG_DIR%\server.log” ^

   “-Djavax.net.debug=all” ^

“-Dlogging.configuration=file:%JBOSS_CONFIG_DIR%/logging.properties” ^

-jar “%JBOSS_HOME%\jboss-modules.jar” ^

-mp “%JBOSS_MODULEPATH%” ^

-jaxpmodule “javax.xml.jaxp-provider” ^

org.jboss.as.standalone ^

“-Djboss.home.dir=%JBOSS_HOME%” ^

%SERVER_OPTS%

 

R12.52SP1 and below

Modify the run.bat located at <AdminUI_Install_Directory>\adminui\bin as follow :

Change :

:RESTART

“%JAVA%” %JAVA_OPTS% ^

-Djava.endorsed.dirs=”%JBOSS_ENDORSED_DIRS%” ^

-classpath “%JBOSS_CLASSPATH%” ^

org.jboss.Main %*

To,

:RESTART

“%JAVA%” %JAVA_OPTS% ^

-Djava.endorsed.dirs=”%JBOSS_ENDORSED_DIRS%” ^

   -Djavax.net.debug=all ^

-classpath “%JBOSS_CLASSPATH%” ^

org.jboss.Main %*

RELATED BLOGS :

Tech Tip : Switch CA SSO Administrative UI HTTP/HTTPS connection

Leave a Reply