Database Errors

The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Unexpected rethrowing"

This particular error message can appear on startup. The full message will typically appear as the following:

Error occurred fetching database vendor type: Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Unexpected rethrowing".)

To resolve this issue:

  • Stop Cascade CMS if it is running
  • Edit the file tomcat/conf/context.xml
  • Add the parameter sslProtocol=TLSv1.2 to the existing connection string

For example, if your connection string is:

url="jdbc:sqlserver://yourDatabaseServerHost:1433;databaseName=CascadeCMS;SelectMethod=cursor"

The modified connection string will be:

url="jdbc:sqlserver://yourDatabaseServerHost:1433;databaseName=CascadeCMS;sslProtocol=TLSv1.2;SelectMethod=cursor"
  • Start Cascade CMS