Questions tagged [self-signed-certificate]

Questions about self-signed SSL certificates, e.g. they will not validate in browsers and other systems with default SSL checking and key stores.

265 questions
2
votes
1 answer

iOS App does not like self-signed SSL certificate

We developed an iOS app, which works fine with our API on the production server, but not plays well with other servers with self-signed SSL certificate, I searched a lot for solutions, some of which say adding exception to APP config, some says…
John Ding
  • 1,350
  • 11
  • 20
2
votes
0 answers

Express Gateway errors on https self-signed certificate even with certificate verification disabled in Node

I am playing around and learning Express Gateway. The getting started guide requires that I make calls to an https endpoint. My organization runs all requests through a middlebox that sniffs https content and has its root certs installed on our…
BeetleJuice
  • 39,516
  • 19
  • 105
  • 165
2
votes
1 answer

Self-signed certificate on spring security oauth2 client provider issuer-uri

I'm trying to create an example of a Spring Boot client app that can access Keycloak secured rest service. As described in almost any tutorial a spring.security.oauth2.client should be defined. There's mine: security: oauth2: client: …
2
votes
0 answers

unable to connect arduino mkr1000 with mosquitto broker while using self signed certificate

I am having a problem connecting to a mqtt server using self signed certificate. I want to connect my mkr1000 securely to my mosquitto MQTT server on ubuntu. I am generating a CSR on mkr1000 using ARDUINOECCX08CSR example and creating a…
2
votes
1 answer

How to import self-signed certificate.ca with private keys in android phone?

after creating a self-signed CA file and private keys, I was wondering how to add this ca and key file into an android phone? so far, I have not found a way to import on the phone. please help me!
A.Rahimi
  • 23
  • 1
  • 4
2
votes
1 answer

Node.js: how to send HTTPS requests to an app which uses a self-signed certificate

I have 2 Node.js applications accessible via HTTPS. I'm currently using self-signed certificates for those services. Manual access (via a browser or Postman) to those services work as expected (with the usual security warnings about self-signed…
Bob
  • 1,495
  • 1
  • 19
  • 24
2
votes
0 answers

haproxy shows a lot of ssl handshake failures and still loads the page

I am using HAproxy as my on-prem load balancer to my Kubernetes cluster. Here is the cfg file: global chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 40000 user haproxy group haproxy daemon …
swetad90
  • 784
  • 1
  • 13
  • 34
2
votes
1 answer

How to fix java.security.cert.CertPathValidatorException: timestamp check failed

My mac has a TFS build agent connecting to a TFS server. That works fine. But when fetching the source code it fails with the following error: An error occurred: sun.security.validator.ValidatorException: PKIX path validation failed:…
matphi
  • 173
  • 3
  • 8
2
votes
1 answer

How do I configure JedisConnectionFactory to use SSL so that I don't get the error: "JedisDataException: ERR unencrypted connection is prohibited"?

I have a Redis database with an RLEC (RedisLabs Enterprise Cluster) UI which has been set up for SSL connections. I have a java app which is able to connect to the redis database using Jedis. This works: Jedis jedis = new…
2
votes
0 answers

A parameter cannot be found that matches parameter name 'KeySpec'

I am trying to create SSL and getting following error: A parameter cannot be found that matches parameter name 'KeySpec'. $cert = New-SelfSignedCertificate -CertStoreLocation "Cert:\LocalMachine\My" -DnsName "sampleapp.test.com" -KeySpec Signature…
Ika
  • 201
  • 3
  • 17
2
votes
0 answers

Logstash isn't accepting the self signed certificates and throws a sslv3 alert handshake failure

I have set up an elsatic stack in my laptop and I have configured full stack (filebeat, logstash, elasticsearch and kibana) in it. But now I need to connect filebeat and logstash in a secure manner using SSL. But after using the self signed…
2
votes
1 answer

How do I create self signed certificate with id-ecc for use with ECDSA signature and verification?

I'm trying to update this article's code to allow me to create (and use) an ECC based self signed certificate, and do basic signing and verification with it (ECDSA). Is there any way to accomplish this with cross platform .NET Core APIs, or is…
2
votes
2 answers

Generating signature using self signed certificate

I have the following sample code which I made for generating a signature using self signed certificate public static String generateSignature(String data) throws Exception { System.out.println("@@inside generateSignature: " + data); …
Ajeesh
  • 5,650
  • 8
  • 30
  • 52
1
vote
0 answers

Unknown self-signed certificate in a curl connection to an endpoint coded in Jakarta

probably a silly question but i'm starting using certificates and I still have a lot of stuff to learn. I'm trying to make an authenticated connection to an API using a client certificate. The idea is that the server recognised the certificate and…
Samuel Góngora
  • 141
  • 1
  • 11
1
vote
1 answer

In some windows OS machine I am getting cryptographic exception: Invalid provider type specified

In most of the windows OS (Windows 2019 Server), below code works fine, but for some I am getting cryptographic exception: Invalid provider type specified while trying to access PrivateKey of self signed certificate. What could be the issue? Here…
user584018
  • 10,186
  • 15
  • 74
  • 160