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

107 views
Skip to first unread message

Santhosh

unread,
Apr 22, 2019, 11:41:09 PM4/22/19
to Gatling User Group
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
Reply all
Reply to author
Forward
0 new messages