Jackie chen
03/26/2024, 6:43 AM2024-03-26 15:09:15.995 Unable to generate a certificate authority
com.github.tomakehurst.wiremock.http.ssl.CertificateGenerationUnsupportedException: Your runtime does not support generating certificates at runtime
at com.github.tomakehurst.wiremock.http.ssl.CertificateAuthority.generateCertificateAuthority(CertificateAuthority.java:72)
at com.github.tomakehurst.wiremock.jetty94.SslContexts.buildKeyStore(SslContexts.java:124)
at com.github.tomakehurst.wiremock.jetty94.SslContexts.buildSslContextFactory(SslContexts.java:76)
at com.github.tomakehurst.wiremock.jetty94.SslContexts.buildManInTheMiddleSslContextFactory(SslContexts.java:52)
at com.github.tomakehurst.wiremock.jetty94.Jetty94HttpServer.applyAdditionalServerConfiguration(Jetty94HttpServer.java:128)
at com.github.tomakehurst.wiremock.jetty9.JettyHttpServer.<init>(JettyHttpServer.java:109)
at com.github.tomakehurst.wiremock.jetty94.Jetty94HttpServer.<init>(Jetty94HttpServer.java:45)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.github.tomakehurst.wiremock.jetty9.JettyHttpServerFactory.buildHttpServer(JettyHttpServerFactory.java:73)
at com.github.tomakehurst.wiremock.WireMockServer.<init>(WireMockServer.java:75)