Jump to content
The Uniform Server Community
Sign in to follow this  
Androidicus

MySQL 8 Encryption At Rest

Recommended Posts

image.png.ed47732303325be561b4285fa918049d.png

Using MySQL 8.0.18 - all is working fine. But I need to add encryption at rest functionality using the keyring_file.dll plugin.

This should be achievable using:

[mysqld]
early-plugin-load=keyring_file.dll
keyring_file_data=/UniServerZ/core/mysql/keyring

I have used the 'keyring_file.dll' and 'keyring_udf.dll' from MySQL 8.0.22 ZIP and placed in created directory: /UniServerZ/core/mysql/lib/plugin/

But nope - spent a day and a half fiddling with paths etc. etc. - mysql simply fails to start with above config.

2020-11-11T10:54:49.858479Z 0 [ERROR] [MY-010901] [Server] Can't open shared library 'J:\UniServerZ\core\mysql\lib\plugin\keyring_file.dll' (errno: 126 The specified module could not be found.).
2020-11-11T10:54:49.865906Z 0 [ERROR] [MY-010736] [Server] Couldn't load plugin named 'keyring_file.dll' with soname 'keyring_file.dll'.
2020-11-11T10:54:52.004982Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2020-11-11T10:54:52.039590Z 0 [ERROR] [MY-000067] [Server] unknown variable 'keyring_file_data=J:/UniServerZ/core/mysql/keyring/keyring'.
2020-11-11T10:54:52.044123Z 0 [ERROR] [MY-010119] [Server] Aborting
2020-11-11T10:54:52.787494Z 0 [System] [MY-010910] [Server] J:\UniServerZ\core\mysql\bin\mysqld_z.exe: Shutdown complete (mysqld 8.0.18)  MySQL Community Server - GPL.

This is preventing me from using Uniform Server for a very specific purpose as a standalone, USB drive based solution for an urgent requirement...

Very frustrating!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...