java.security.cert.CertificateException: No name matching localhost found

Hi All,

I am trying to execute gatling on my tomcat running on my local-VM. The VM uses SSL cert. I have already added the cert in gatling.conf under keystore section. I am getting the below error: