How to remove the «SSL context is not usable without certificate and private key» warning for a localhost-only MySQL server?

I use this MySQL instance only for my local development on Windows, so I just disabled the ssl option:

[mysqld]
ssl = 0