Linked Questions
68 questions linked to/from Error - trustAnchors parameter must be non-empty
70
votes
13answers
188k views
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty on Linux, or why is the default truststore empty [duplicate]
When you google for this exception: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty, multiple results appear. However there is no definitive solution, ...
12
votes
1answer
42k views
got java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty when using cas [duplicate]
we get the following exception in our application under tomcat which is using cas.
java.security.InvalidAlgorithmParameterException:
the trustAnchors parameter must be
non-empty
when I google ...
3
votes
1answer
5k views
javax.net.ssl.SSLException - the trustAnchors parameter must be non-empty [duplicate]
When I try to run ./gradlew run I keep getting:
Downloading https://services.gradle.org/distributions/gradle-4.4.1-bin.zip
Exception in thread "main" javax.net.ssl.SSLException: java.lang....
-1
votes
1answer
10k views
the trustAnchors parameter must be non-empty [duplicate]
I am trying to retrieve an SSL certificate and to call a soap webservice via that but getting stuck due to below issue
I tried all the solutions provided over stack overflow but it's not working at ...
3
votes
1answer
1k views
Maven with Ubuntu 15.10, getting errors with: mvn clean install; [duplicate]
I am using a vps hosted by TransIP that i bought yesterday. Every plugin works like it should except maven. Ive reinstalled it multiple times and it just seems to give errors the whole time.
What I ...
1
vote
2answers
839 views
Not able to run Maven-based Spring project, created from Spring Initializer with Java 10 [duplicate]
I use Ubuntu 18.04 , updated Java to latest version 10 and now not able to run simple Maven projects.
Created a simple maven project from Spring Initializer and tried running it.
Following is the ...
3
votes
1answer
623 views
java - SSL in RMI [duplicate]
I'm trying to run the example code for building RMI here and while I can get the server to run if I modify the policy file to this:
grant {
permission java.net.SocketPermission "*", "listen,...
1
vote
0answers
585 views
Maven Error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty [duplicate]
I'm not sure how to react. I was told this is a duplicate question. But only the header is the same - my question is not answered there:
- I am providing a valid cacerts file
- I'm referring to it in ...
2
votes
1answer
376 views
cfhttp : the trustAnchors parameter must be non-empty [duplicate]
I am making a cfhttp call from my main server to reporting server. And it was working fine until few days ago.
But suddenly it has started giving errors when I am trying to make http call through ...
2
votes
0answers
284 views
Difference between KeyManager and TrustManager? [duplicate]
I'm reading up on the difference between keymanager and trustmanager but still quite not sure why only using keymanager works for my code.
I'm writing some client codes to upload images using HTTPS ...
0
votes
0answers
73 views
JDK SSL not working - the trustAnchors parameter must be non-empty [duplicate]
I tried to build an Ionic app on ubuntu 18.04 , but it gives this error.
You have been opted out of telemetry. To change this, run: cordova
telemetry on. ANDROID_HOME=/root/Android/Sdk
...
0
votes
0answers
56 views
Fresh utopic/lein/java install fails with trustAnchor issue [duplicate]
I just fresh installed ubuntu utopic on a vm and then installed java (both 8 and then 7 when I first saw the error) and leiningen. When running lein deps or lein repl it seems to fail with this error:...
0
votes
0answers
22 views
Spring Framework - SSL Issues [duplicate]
I am using spring framework for my application on RHEL 6 and making calls over https. However, this fails with the following error.
InvalidAlgorithmParameterException: the trustAnchors parameter must ...
0
votes
0answers
21 views
Java SSL: InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty [duplicate]
I've created a keystore. First I've downloaded certificate:
$ openssl s_client -connect vault.ra-sec.svc:443 < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > public.crt
...
0
votes
0answers
20 views
Using keystore/truststore in Java [duplicate]
I'm having a problem using truststore/keystore in java. My code goes like this. I have tried also all the suggestion I searched here Error - trustAnchors parameter must be non-empty
, the cacerts ...