hfagerlund / quiz_app

Quiz app with custom GraphQL API (Laravel 10 backend) and Vue3 front-end
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

MySQL: certificate is self signed #8

Open hfagerlund opened 1 year ago

hfagerlund commented 1 year ago

From terminal output of $ ./vendor/bin/sail up:

quiz_app-mysql-1         | ...
 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
quiz_app-mysql-1         | ... 
[System] [MY-013602] [Server] Channel mysql_main configured to support TLS.
Encrypted connections are now supported for this channel.
hfagerlund commented 1 year ago

How to modify MySQL service config (eg. add skip-ssl=1 to my.cnf file)?

References

(ie. based on above, pass the config option as a switch on startup, with the config value stored in .env(?))