Issue with .perUserKeyManagerFactory(_ => KeyManagerFactory.getInstance("TLS"))

Hello,

I am trying to use “perUserKeyManagerFactory”. I am getting below error. Can you please help ?

Simulation com.plan.Simulation1 started…

20:32:03.544 [ERROR] i.g.h.c.SslContextSupport$ - Can’t build perUserKeyManagerFactory: j.s.NoSuchAlgorithmException: TLS KeyManagerFactory not available
java.security.NoSuchAlgorithmException: TLS KeyManagerFactory not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)
at javax.net.ssl.KeyManagerFactory.getInstance(KeyManagerFactory.java:137)
at com.plan.Simulation1.$anonfun$httpBuilder$1(ApiLoadTest.scala:20)
at com.plan.Simulation1.$anonfun$httpBuilder$1$adapted(ApiLoadTest.scala:20)
at io.gatling.http.cache.SslContextSupport$.io$gatling$http$cache$SslContextSupport$$resolvePerUserKeyManagerFactory(SslContextSupport.scala:38)
at io.gatling.http.cache.SslContextSupport.$anonfun$setSslContexts$2(SslContextSupport.scala:58)
at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
at io.gatling.core.controller.inject.Workload.startUser(Workload.scala:54)

JDK Version : 8
gatling version: 3.1.1
Regards,
Santhosh