Client Certificate On Windows

For the windows, execute the same steps from 1 to 3 from On Linux section and then follow the below steps.

Create mysql-keyring-okv folder in following location C:\Program Files\MySQL\MySQL Server 8.0\mysql-keyring-okv folder and allow following permission to the folder.

  1. After creating the mysql-keyring-okv folder in C:\Program Files\MySQL\MySQL Server 8.0\mysql-keyring-okv right-click, then Properties -> Security, then Edit -> Add etc.

  2. Once the user is added check "Modify" in addition to Read & execute, List folder contents, Read and Write.

  3. Also, Grant modify access to MySQL folder inside Program Files and restart the MySQL services.

  4. Save the CA, which was downloaded in step 3, as CA.pem on C:\Program Files\MySQL\MySQL Server 8.0\mysql-keyring-okv\ssl location.