Disabling HostName verifier or configuring custom verifier in Gatling 2.3

When doing Mutual with over TLS I get the following error. How do i disable Host name verification or provide a customer verifier with gatling.
java.security.cert.CertificateException: No name matching localhost found

	at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:231)
	at sun.security.util.HostnameChecker.match(HostnameChecker.java:96)

I enabled ssl log and see that no name matching localhost with certificate_unknown