Questions tagged [cacerts]
78 questions
0
votes
0 answers
javax.net.ssl.SSLHandshakeException: PKIX path building failed for Jenkins Plugin
I have installed Jenkins on Mac machine and trying to download plugin but getting error related to certificates:
Caused: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:…

Manish
- 1,274
- 3
- 22
- 59
0
votes
0 answers
Add certificates to global Java truststore in code (programatically)
I have a Kubernetes Deployment of my Spring Boot application where I used to update global Java cacerts using keytool at the bootstrap:
keytool -noprompt -import -trustcacerts -cacerts -alias $ALIAS -storepass $PASSWORD
However, I need to make the…

user1563721
- 1,373
- 3
- 28
- 46
0
votes
1 answer
What is PKIX-error and how to fix/workaround it for gradle project in a corporate environment?
There is a requirement in our corporate environment to import corporate certificate to installed JDK.
Imported cert into almost all possible locations and installations...
Set JAVA_HOME before commands that may use it and set JAVA_HOME in…

biboti6045
- 21
- 4
0
votes
1 answer
Apache HttpClient4 + OpenJDK11 different behavior on CentOS Linux and Windows with SSL websites
A Java crawler developed on Apache HttpClient works fine on Windows, but throws "Algorithm constraints check failed on signature algorithm: SHA1withRSA" on Linux when crawling sites having certificate signed by Certum. Both ran on the latest…

Mohsen
- 3,512
- 3
- 38
- 66
0
votes
0 answers
although the cert is included in Accepted certificates ,PKIX path building failed
I Use #Intellij idea .my program try to connect the #URL using a #HttpURLConnection.I face the error "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested…

masoudseddighi
- 33
- 1
- 6
0
votes
1 answer
Rest https call from GCP Dataflow (Apache Beam/ Java SDK) with custom Certificate .crt
We faced problem with REST calls from GCP Dataflow (Apache Beam/ Java SDK based) to our internal service within GCP with custom Self-Signed Certificate.
We tried to put certificate in Runtime to ../java/../cacerts file and it works well, but Java…

omelnykov
- 3
- 1
0
votes
1 answer
Client Keystore, TrustStore, LDAP Credential
I am having an issue with keystore, truststore, and LDAP credentials for Google.
I am using GraalVM 22.2 on JDK17 for the test.
I created a test class to be able to log into Google LDAP. Once, I figure out how to do it in the test, then I can move…

PMinearo
- 1
- 1
0
votes
0 answers
gpg: no valid openpgp data found while installating and configuring Opendistroforelasticsearch
I am working on virtual machine and I am installing and configuring opendistro for Elasticsearch by following this page:
https://opendistro.github.io/for-elasticsearch-docs/docs/install/deb/
by running this command:
wget -qO…

ahsan yazdani
- 60
- 7
0
votes
0 answers
Difference between Wildcard certificate with Subject Alternative Name and without Subject Alternative Name
What is the difference between Wildcard certificate with Subject Alternative Name and without Subject Alternative Name.
Is there any security implications in regards to Wildcard certificate with subject-alternate-name?

Sandeep Dommari
- 1
- 1
0
votes
0 answers
Using java truststore from s3 bucket
We have a requirement to store custom Java trust store file in S3 bucket and have various applications refer that common trust store by using JVM argument-Djavax.net.ssl.trustStore
Giving S3 bucket location is not working for…

Gaurav Chhabra
- 1
- 2
0
votes
1 answer
Where to put the .crt CA certificate file downloaded from Digital Ocean for a SSL connection to their Managed PostgreSQL server
In a simple HelloWorld app using JDBC to make a connection to the Managed PostgreSQL servers by Digital Ocean, where does one place the downloaded ca-certificate.crt file downloaded from their "Getting Started" page?
I assume the JDBC driver needs…

Basil Bourque
- 303,325
- 100
- 852
- 1,154
0
votes
1 answer
Java: Alternative to Certificate updates to Cacerts file every year
Every year or thrice a month we have certificate updates for our various clients.
We need to open their website and in chrome view certificate and download as .der.
Everytime we hit keytool command and update it to cacerts on local for development…

fatherazrael
- 5,511
- 16
- 71
- 155
0
votes
0 answers
Java HttpClient SSLHandshake Fail After Sometime
I have a JAVA Web Application in a Tomcat 7 with JDK 8 .
My cacert file path and password is defined in setenv.sh file and has all needed certificates.
My initiates and is able to make some HTTPS connections with a server, but, after some time, a…
0
votes
1 answer
Add `cacerts` file to all pods in a Kubernetes cluster
Well, my question is really short and hopefully simple? Is it possible to add a cacerts file automatically in every pod in a specific Kubernetes cluster?
According to this article it's possible by creating a ConfigMap and add this to the path…

Lucas Scheepers
- 505
- 6
- 24
0
votes
1 answer
Could not install packages due to an OSError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)
I'been trying to sovle this problem by reading differents answers in here but none of them turn out to be "the solution",so I would try to breafly explain my situation so you guys can give me a clue.
The thing is that when I try to run pip install…

Jonatrios
- 424
- 2
- 5