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
4
votes
1 answer

Disable client certificate validation in IIS 10 for an Asp.net website but allow app to request incoming client certificate

I have an Asp.net API website which does custom client certificate validation. When hosting this website on IIS 10, I get the following from failed request logs when I call my API. A certificate chain processed, but terminated in a root…
Tany
  • 1,252
  • 14
  • 30
4
votes
1 answer

Got SSLPeerUnverifiedException Hostname 196.1X.3X.X2 not verified error in Android 9 with Self signed certificate, but work in all other versions

When Https connection is made to REST API with Self singed certificate , I got error in Android 9 that javax.net.ssl.SSLPeerUnverifiedException: Hostname 196.1X.3X.X2 not verified. But it works in Android version before Android (Pie). I put hostname…
4
votes
2 answers

file_get_contents fails in MAMP with self signed certificate

I'm including svg files in my site using file_get_contents(). Normally this works fine on http, but I setup this site to use https locally. When I do I get this error: Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error…
3
votes
2 answers

Do I have to get a valid SSL certificate to make WebTranport server examples work?

I tried several WebTranport server examples, but failed to establish a webtransport connection with Chrome 111. Server…
fuweichin
  • 1,398
  • 13
  • 14
3
votes
1 answer

Self-signed certificate not work inside docker for communication among containers

I have a docker-compose in which minio, minio/kes and vault talk together. Both minio/kes and vault need TLS, and I used self-signed method with IP address to create certificate for them. I use this command to generate certificate: openssl req -x509…
Zahra Vahidi
  • 103
  • 1
  • 10
3
votes
4 answers

docker-compose, wsl2 and self signed ssl certificate

So i'm using docker-compose to set up local dev environments while I'm working on Wordpress sites. And now i'm trying to fix so I can get an self signed ssl certificate for that local dev environment. But all I end up with when i'm trying to visit…
zarex360
  • 312
  • 4
  • 16
3
votes
2 answers

IOS 14 - Self signed certificate - not trustable

I create a self signed certificate by using this openssl req \ -newkey rsa:2048 \ -x509 \ -nodes \ -keyout myKey.key \ -new \ -out myCert.crt \ -subj /CN=my.domaine.any \ -config ./myConfig.cnf \ -reqexts SAN \ …
bosure
  • 81
  • 1
  • 4
3
votes
1 answer

How to create an Self Signed Certificate on Windows server 2012 r2 for application hosted on websphere

I am trying to create a Self Signed Certificate on windows 2012 r2 for an application hosted on websphere. My application is something like https://server1.xxx.co.yy:9434/app/screen/login and it gives not secure error on address bar. Please let me…
3
votes
1 answer

ESP32 MQTT TLS errors (self signed cert)

I cannot seem to make MQTT+TLS+self signed certs work on my ESP32. I am using this "setup" in my home network without major hickups with paho-python and mosquitto_pub/sub. The latter works with the following bash command (note the insecure…
itarill
  • 323
  • 1
  • 14
3
votes
0 answers

xcode simulator error NSURLErrorDomain1202 using react-native-webview

I am using "react-native-webview": "7.4.3" "expokit": "^36.0.0", When I run the app with the URL on the self signed certificate server, the error message will happen as below. If the URL is changed to server with proper issued certificate, no…
3
votes
1 answer

NodeJS axios request self signed works in browser but not in jest supertest case

I am building a NodeJS app that makes calls to an external API. The external API uses a self-signed certificate. I tried setting the environment variable process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'. This works to ignore the certificate…
pengz
  • 2,279
  • 3
  • 48
  • 91
3
votes
2 answers

How do I allow self-signed certificates to be accepted by Kestrel by using native .Net Core OAuth Authorization?

I am currently developing a Web Application that requires to retrieve data from an IDM system which in Dev Environment uses a Self-Signed certificate (I don't know the reason). It uses OAuth as Authorization method, so I am currently using .Net Core…
3
votes
3 answers

Getting a self-signed certificate error with ProtonBridge and mbsync

I am attempting to setup isync with ProtonBridge and getting the following error: SSL error connecting 127.0.0.1 (127.0.0.1:1143): self signed certificate I am aware that this is the localhost, as such the certificate that we provide is…
nunop
  • 2,036
  • 2
  • 20
  • 36
3
votes
1 answer

How to export the private key from a Salesforce Self Signed cert using PHP or openssl?

I created a Self-Signed cert by following this article I set the private key as exportable but there isn't an export link within the salesforce app (that I can see) so I'm guessing you have to export from the certificate itself. I'm using the PHP…
Chris
  • 4,643
  • 6
  • 31
  • 49
2
votes
0 answers

windows server 2012 R2 - create self signed certificates and export to pem format

i use the following powershell script to generate self signed certificates on windows 2016 and above: $cert = New-SelfSignedCertificate ` -Subject "CN=$env:COMPUTERNAME,OU=xx,O=xx,C=xx" ` -KeyAlgorithm RSA ` …
vb8448
  • 21
  • 2
1
2
3
17 18