Modify the content in the docker compose.yml
> docker compose up --build -V
The SSL certificate and key files and RSA key-pair files can be generated with mysql_ssl_rsa_setup which is based on OpenSSL and could save a lot of work.
The steps to generate these artifacts are quite easy:
- make sure you have MySQL installed
- mysql_ssl_rsa_setup --datadir=./
> mvn test -Dconnection.uri=mysql://mysql:password@localhost:3306/testschema -Dtls.connection.uri=mysql://mysql:password@localhost:3307/testschema