Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

SSL Configuration Security Check Error

Avatar

Level 3

We enabled SSL for Author and Publish using the SSL by Default method for AEM 6.4.  SSL is working as expected.  However in the Operations Dashboard the "SSL Configuration" security check is in status:CRITICAL.  It is producing an error.  I believe the error is caused by a data type mismatch in the code that does the health check rather than the health check finding something critical, but I am not sure.

 

Error:

Exception during execution of 'SSL Configuration': java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer

 

The SSL Configuration check can be accessed a multiple ways.

 

Operations Dashboard
Tools -> Operations -> Health Reports -> Security Checks -> SSL Configuration.

SSLConfiguratoinHealthCheck.png

 

Web Console:

Sling -> Sling Health Checks.  Enter "ssl" in Health Check Tags.

SSLConfiguratoinHealthCheckWebConsole.png

Is this a problem with the health check code?

If not, what do I need to do to get the health check to change to status:OK?

Any other suggestions?

 

This is occurring on AEM 6.4.3 and AEM 6.4.8.

 

Thanks!

...

clint

 

1 Reply

Avatar

Level 3

Just a follow up.

 

After working with technical support this is my understanding of the issue...

 

Turns out this is an issue when configuring OSGi using the content-node method.  When using content-node and creating the configuration as a sling:OsgiConfig node with properties there is no type of Integer.  Typically Long will work in place of integer, but the SSL Configuration Security Check code requires the number to be an Integer for the SSL port property.  As a work around use the Adobe Web Console to set the properties for SSL.

 

/apps/system/config/com.adobe.granite.jetty.ssl.internal.GraniteSslConnectorFactory