I even reverted to the tried and tested turn it off and on again technique with no affect. I've tried updating the CA certificates, both sudo update-ca-certificates -f and sudo apt install ca-certificates-java -reinstall, neither of which solves the problem. This leads me to the conclusion that it is Ubuntu related rather than gradle/openjdk/oracle related. ![]() This is irrespective of gradle version, java version (both openjdk and oracle 8 and 9 have the fault) and shadowjar version. > : Unexpected error: : the trustAnchors parameter must be non-empty gradlew I get the following error: * What went wrong:Įrror resolving plugin Trying to set up a development environment, when I run gradle or. ġ4:43:11.239 DEBUG .support.I've just installed 17.10 in a fresh VM. ![]() ![]() I cleaned some changes I made and recompiled the code. Src/test/resources/features/Hello.feature:4 # Saying hello to the Server Then I expect to receive status code 200 # HelloStepDefs.iExpectToReceiveStatusCode(int)Īnd I expect to receive Hello message # HelloStepDefs.iExpectToReceiveMessage(String) : : Unexpected error: : the trustAnchors parameter must be non-emptyĪt .getSSLException(Alerts.java:208)Īt .fatal(SSLSocketImpl.java:1964)Īt .fatal(SSLSocketImpl.java:1921)Īt .handleException(SSLSocketImpl.java:1904)Īt .startHandshake(SSLSocketImpl.java:1420)Īt .startHandshake(SSLSocketImpl.java:1397)Īt .(SSLConnectionSocketFactory.java:396)Īt .(SSLConnectionSocketFactory.java:355)Īt .(DefaultHttpClientConnectionOperator.java:142)Īt .(PoolingHttpClientConnectionManager.java:373)Īt .(MainClientExec.java:394)Īt .(MainClientExec.java:237)Īt .(ProtocolExec.java:185)Īt .(RetryExec.java:89)Īt .(RedirectExec.java:110)Īt .(InternalHttpClient.java:185)Īt .(CloseableHttpClient.java:83)Īt .(CloseableHttpClient.java:108)Īt .(CloseableHttpClient.java:56)Īt nl.iSayHello(HelloStepDefs.java:28)Īt ✽.I say hello(src/test/resources/features/Hello.feature:6)Ĭaused by: : Unexpected error: : the trustAnchors parameter must be non-emptyĪt .(PKIXValidator.java:91)Īt .getInstance(Validator.java:181)Īt 509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:312)Īt 509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:171)Īt 509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:184)Īt 509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)Īt .serverCertificate(ClientHandshaker.java:1596)Īt .processMessage(ClientHandshaker.java:216)Īt .processLoop(Handshaker.java:1052)Īt .process_record(Handshaker.java:987)Īt .readRecord(SSLSocketImpl.java:1072)Īt .performInitialHandshake(SSLSocketImpl.java:1385)Īt .startHandshake(SSLSocketImpl.java:1413)Īt 0(Native Method)Īt (NativeMethodAccessorImpl.java:62)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:498)Īt $1.call(Utils.java:26)Īt (Timeout.java:16)Īt (Utils.java:20)Īt .execute(JavaStepDefinition.java:48)Īt (PickleStepDefinitionMatch.java:50)Īt (TestStep.java:63)Īt (TestStep.java:49)Īt (PickleStepTestStep.java:43)Īt (TestCase.java:44)Īt (Runner.java:40)Īt $n(PickleRunners.java:146)Īt .runChild(FeatureRunner.java:68)Īt .runChild(FeatureRunner.java:23)Īt $3.run(ParentRunner.java:290)Īt $1.schedule(ParentRunner.java:71)Īt .runChildren(ParentRunner.java:288)Īt .access$000(ParentRunner.java:58)Īt $2.evaluate(ParentRunner.java:268)Īt .run(ParentRunner.java:363)Īt .run(FeatureRunner.java:73)Īt .runChild(Cucumber.java:124)Īt .runChild(Cucumber.java:65)Īt $1.evaluate(Cucumber.java:133)Īt .(JUnit4Provider.java:365)Īt .(JUnit4Provider.java:273)Īt .(JUnit4Provider.java:238)Īt .(JUnit4Provider.java:159)Īt .(ForkedBooter.java:384)Īt .(ForkedBooter.java:345)Īt .(ForkedBooter.java:126)Īt .(ForkedBooter.java:418)Ĭaused by: : the trustAnchors parameter must be non-emptyĪt .setTrustAnchors(PKIXParameters.java:200)Īt .(PKIXParameters.java:120)Īt .(PKIXBuilderParameters.java:104)Īt .(PKIXValidator.java:89) When I say hello # HelloStepDefs.iSayHello() ![]() 14:12:07.227 INFO 84979 - n.a. : Started HelloStepDefs in 1.279 seconds (JVM running for 2.485)įeature: Securing the connection between you and the Saying hello to the Server # src/test/resources/features/Hello.feature:4 14:12:06.419 INFO 84979 - n.a. : No active profile set, falling back to default profiles: default 14:12:06.417 INFO 84979 - n.a. : Starting HelloStepDefs on davids-MacBook-Pro-2.local with PID 84979 (started by wdavid in /Users/wdavid/GitHub/mtls/client) I did the same and gave this command and received the answer saying keytool: command not found I searched the command and found it but it stays in another place so we are receiving that answer. (due to wrong/missing trustStorePassword, or. Here is the 7ee8290b, 1f59a598, 1e178745, 192c3f1e]ġ4:12:05.945 DEBUG .support.TestPropertySourceUtils - Adding inlined properties to environment: This bizarre message means that the trustStore you specified was: empty, not found, or couldnt be opened. I did it a few times from scratch following the GitHub instructions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |