nav-img
Advanced

Database Connection Through Code (php/java/python) Failed After SSL Is Enabled

Scenario

After SSL is enabled, an error message is displayed when a database is connected to using commands.

Figure 1 Connection failure


Troubleshooting

Check whether the connection command uses SSL.

Solution

  • Enable SSL and use an SSL connection to connect to a database.
  • Disable SSL and use a non-SSL connection to connect to a database.