Questions tagged [cacerts]

78 questions
1
vote
1 answer

nitter (build using nim) inside nix environment cannot access SSL certs

I was having trouble running the nitter package in nixos. It complained about rate limits. So I used the source package code to try to grab the latest release off of git and still ran into the same error: Starting Nitter Starting Nitter at…
djsumdog
  • 2,560
  • 1
  • 29
  • 55
1
vote
1 answer

Traefik does not use cert file provided for OpenConnect VPN

I have setup traefik in docker and use let's encrypt on the domain example.tld with some services: traefik: image: "traefik:2.8.2" container_name: "traefik" hostname: "traefik" restart: always command: -…
Konstantin
  • 29
  • 4
1
vote
0 answers

what is the way to use .cert for external services( using https) in openshift pod / docker container?

My spring boot application is connecting with API connect which is using https API's. I am able to communicate with API connect on local as I have installed the cert file provided by them using keytool in security/cacert of JDK. but inside openshift…
1
vote
1 answer

Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate

I'm trying to install a Ruby project on my Linux system, when I run this command: bundle install --jobs=$(nproc) --retry=5 I got this error: This is the full output of the above command: Fetching source index from…
htamayo
  • 335
  • 3
  • 16
1
vote
0 answers

cacert curl equivalent in scala/java HttpsClient

I am able to make the following curl command: curl --cacert ${CACERT} --header "Authorization: Bearer ${TOKEN}" -X GET ${APISERVER}/api now I am trying to do the same with scala code, I saw many examples of SSL connection, but I am just presenting…
1
vote
1 answer

Custom DNS record and SSL certificate in docker container

I am facing a issue with self signed certificate and DNS record in hosts file inside docker container. We have multiple Linux servers with docker swarm running. There was a docker service where I need to copy the self signed certificate and create a…
1
vote
1 answer

Self Signed Certificates in Earthly

I wanted to use earthly on corporate network that uses SSL probing that issues self-signed certificates. I have custom ca-cert pem file, which I have been using successfully with other tools and toolchains like python, curl, etc. I am not able to…
Martin Macak
  • 3,507
  • 2
  • 30
  • 54
1
vote
0 answers

How to store public certificates in the truststore

I'm developing a microservice in Spring (Java), which needs to authenticate against an external webservice in order to perform some REST API calls. I've been given two files by the external webservice, a security certificate (.cer) and a PEM file…
1
vote
0 answers

Unable to find valid certification path to requested target (SSLHandshakeException)

I am using ubuntu 18.04.5 and openjdk 11.0.11. while am trying the below command in wsl, i get exception. I also executed following commands with no luck. can someone help resolve this issue? sudo dpkg --purge --force-depends…
JMBA
  • 79
  • 1
  • 12
1
vote
0 answers

How to get cacert validation for terraform provisioners windows

I trying to deploy some packages in windows OS through terraform 15.1 version. And I am able to deploy successful deployment when I use this in provisioners Connection { type = winrm user = administrator password =…
1
vote
2 answers

Java Certificates, Eclipse and Maven: PKIX path building failed

The project when "clean install" search for "eiUtil jar" at local .m2 and if not exist. It tries to search remote artifactory and gives following: Failed to read artifact descriptor for Gullaintegrator:eiutil:jar:2.15-SNAPSHOT: Could not…
fatherazrael
  • 5,511
  • 16
  • 71
  • 155
1
vote
1 answer

where is ca certs file in ldap3?

I am using ldap3 and want to create a conncetion over SSL. I have seen that in order to so I must create a Tls object with the arugment "ca_certs_file". My problem is, I cannot understand from where can I retrieve such a file. from ldap3 import…
1
vote
0 answers

Adding a x.509 DER vs Base 64 certificate to cacerts

I exported a certificate from an https url that my java API needs to connect with. Then imported to java jdk cacert as follows: clicked the padlock icon a the begining of the url on chrome certificate > details > copy to file selected x.509 base…
jkfe
  • 549
  • 7
  • 29
1
vote
1 answer

Error while hitting 3rd party API from Spring boot app : the trustAnchors parameter must be non-empty

I have a spring boot application (running on HTTPS but on self-signed cert). It uses JDK 1.8 (not open JDK) and I wrote down a code where my code is hitting 3rd party APIs. Earlier my code was working. But for some other task, I had to import…
Vaibhav Bhardwaj
  • 179
  • 1
  • 1
  • 9
1
vote
0 answers

Using CA certificate in Java to connect to a Vault

I would like to retrieve credentials from Vault. In that context, I found this. https://bettercloud.github.io/vault-java-driver/. But to connect to Vault, instead of the token, I have CA certificate. I found a few examples mentioned in the above…
Joy
  • 4,197
  • 14
  • 61
  • 131