SSL Configuration fails with a warning MySQL 8.0
It was a silly mistake.

I was referring to the certificates which didn't exist and I was using wrong directory name.

First, one must create the certificates, using mysql_ssl_rsa_setup/openssl and place them in the designated directory.

mysql_ssl_rsa_setup --datadir=/mysql_data/ssl_certs --uid=mysql

Use following configuration under the [mysqld] section

ssl-ca=/mysql_data/ssl_certs/ca.pem
ssl-key=/mysql_data/ssl_certs/server-key.pem
ssl-cert=/mysql_data/ssl_certs/server-cert.pem


Then initialise the database using

mysqld --defaults-file=/mysql_data/config/options.cnf --user=mysql --initialize


In my case even this did not work.

The mistake I was doing was using incorrect directory name;
I was using /mysql_data/ssl-certs instead of the correct one /mysql_data/ssl_certs.