How to Enable SSL Mode Required in Plugin MySQL

How to Enable SSL Mode Required in Plugin MySQL

148
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:01 PM


Symptom


When all target clients need ssl mode with "ssl mode=required", how do I enable ssl mode=required in the MySQL plugin in PSM?





Environment


13.0;13.2 Privileged Access Manager (PAM, self-hosted) PSM

PSM

MySQL Workbench



Cause


PSM connector for MySQL workbench plugin from marketplace seems to be outdated and not working properly with latest version.



Resolution


+ MySQL Workbench PSM connector configuration

  1. MySQL Workbench can be downloaded from below marketplace.https://community.cyberark.com/marketplace/s/#a352J000000d902QAA-a392J000001Z3WAQA0
  2. PSM connector for MySQL workbench plugin from marketplace seems to be outdated that stuck when inputting a password. below update with script fixed the issue when inputting a password.


Before:

Local $hWnd1 = WinWaitActive("Connect to MySQL Server", "", 10)

ControlSetText ("Connect to MySQL Server","","WindowsForms10.EDIT.app.0.1a0e24_r13_ad11",$TargetPassword)

ControlClick ("Connect to MySQL Server","","WindowsForms10.BUTTON.app.0.1a0e24_r13_ad13")

Local $hWnd2 = WinWaitActive("MySQL Workbench","",10)

WinSetState($hWnd2, "", @SW_MAXIMIZE)


Replace Using:

WinWait ("Connect to MySQL Server")

WinActivate("Connect to MySQL Server")

sleep (2000)

Send ($TargetPassword)

sleep (1000)

Send ("{ENTER}")


after updating the script the plugin runs normally.


+ As for the SSL mode configuration, Below changes worked from workbench configuration:


Path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules\data\mysql_rdbms_info


And find Use SSL and update default value


Before:

<value type="string" key="caption">Use SSL</value>

<value type="string" key="accessibilityName">Use SSL</value>

<value type="string" key="defaultValue">1</value>


After:

<value type="string" key="caption">Use SSL</value>

<value type="string" key="accessibilityName">Use SSL</value>

<value type="string" key="defaultValue">2</value>



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001CDgCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail