SSL on external mysql db

Hi,
We were trying to incorporate mysql which is SSL forced.

I am getting this error.

Warning: mysqli::__construct(): (HY000/9002): SSL connection is required. Please specify SSL options and retry. in Standard input code on line 17

MySQL Connection Error: (9002) SSL connection is required. Please specify SSL options and retry.