syoukango的mysql连接如何使用证书 中发帖

我在部署Veloera时用的mysql 在使用时要使用证书才能连接 
我是这样写的
SQL_DSN=root:root@tcp(mysql.com:9)/defaultdb?ssl-mode=REQUIRED&ssl_ca=/etc/ssl/ca.pem

但是不太正确,我应该如何写