Questions about self-signed SSL certificates, e.g. they will not validate in browsers and other systems with default SSL checking and key stores.
Questions tagged [self-signed-certificate]
265 questions
1
vote
2 answers
Https protocol is not establishing using self signed ssl certificate with php built-in server in windows
I am using the php server from windows cmd. I generated ssl certificate and key using openssl. and started a php server by using the command provided below. but still https is not working. server is starting with the http protocol.
I want to use the…

Sharjeel Arain
- 11
- 2
1
vote
1 answer
MAUI .NET 7 - How to make a http request with self signed certificate from app
I would like to share my experience of making requests with a self-signed certificate in the MAUI .NET 7 app (specifically for the Android part).
The original problem comes from AndroidMessageHandler.ClientCertificates that are not initialized…

Rufat AA
- 11
- 2
1
vote
0 answers
Pure javascript WebSocket equivalent of rejectUnauthorized to avoid DEPTH_ZERO_SELF_SIGNED_CERT
I'm running a node.js websocket server with self signed certificate.
Sample code:
const WebSocket = require("ws").Server;
const HttpsServer = require('https').createServer;
const fs = require("fs");
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] =…

user1617735
- 451
- 5
- 16
1
vote
1 answer
How to create a self-signed certificate using PRINTABLE_STRING, IA5STRING or BMPSTRING as certificate fields?
I need to know how I can make sure certificate fields of my self-signed certificate, like subject common name and issuer common name, is encoded as PRINTABLE_STRING, IA5STRING or BMPSTRING, but not UTF-8 encoding.
I'm trying to create it using…
user20682592
1
vote
0 answers
curl: (52) Empty reply from server on Hive-Metastore
While checking the connection of TLS enabled Hive-Metastore by using curl on --insecure(-k) gives curl: (52) Empty reply from server. Checking without -k gives curl: (51) Unable to communicate securely with peer: requested domain name does not match…

Aneesh CN
- 11
- 3
1
vote
0 answers
portforwarding setup nginx to self-signed certificate
I have a bastion server that can allow me to connect to one private web server, this means I have set up double tunnel ssh where I allow to connect to my application in localhost:3000, so when I use this in my browser looks like localhost:8081 to…

switcher
- 11
- 1
1
vote
1 answer
Why Spring Cloud Gateway is unable to find valid certification path to requested target?
I have Spring Cloud Gateway secured with Keycloak.
Keycloak has a self-signed certificate that I generated with these commands:
openssl genrsa -out ca.key 2048
openssl req -new -x509 -days 365 -key ca.key -subj "/C=CN/ST=GD/L=SZ/O=Acme, Inc./CN=Acme…

Kambei
- 458
- 9
- 23
1
vote
0 answers
Rails ActionMailer 6.1 / Ruby 3.1.2 / docker : certificate verify failed (self signed certificate)
Could someone please help me to troubleshoot/configure sending email with ssl/tls please ?
Ruby : 3.1.2
Rails : 6.1.7
net-smtp: 0.3.3
docker image : 3.1-slim
My own organisation SMTP serveur that responds like this on port…

titeuff
- 11
- 2
1
vote
0 answers
Making Chrome trust a self-signed certificate
Software Versions:
Ubuntu Linux 22.04
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
Google Chrome 106.0.5249.119
Hi, I'm trying to generate self signed certificates for two way TLS. Server is on an AWS EC2 instance. The web browser…

geenweb
- 97
- 1
- 7
1
vote
0 answers
OpenSSL verify fails, certificate is installed locally
Our IMAP connection to a Exchange Server fails because the certificate validation with openssl fails.
The client which initiates the connection is a Windows Server 2019 Standard running openssl…

Yanick
- 11
- 2
1
vote
0 answers
Accepting self-signed certificate on Android browser for development
For development of a progressive web app I'm using a self signed certificate on my development computer, which works nicely on my computer.
Now I'd like to view my local development web site running in my LAN from mobile devices, in this case an…

Sam
- 28,421
- 49
- 167
- 247
1
vote
0 answers
WebSocket from HTTPS website to different port, self-signed certificate
I am facing issues when trying to connect from a browser via WebSocket to a server.
Website is hosted on a default port (80, 443, configurable - this is s selfhosted intranet application for multiple customers).
We use self signed certificates and…

Piki
- 21
- 4
1
vote
1 answer
How to avoid the "self signed certificate" error when testing requests in SwaggerHub?
I have been recently using SwaggerHub and I keep getting a "self-signed certificate" error, the error code is 500 - internal server error. I'm hosting our API on AWS, and I have inputted the correct host and the endpoints work when I use them…

Jesse Merhi
- 11
- 1
1
vote
1 answer
Nginx pod responds with its listening port in self-signed certificate examples
Env:
❯ sw_vers
ProductName: macOS
ProductVersion: 11.6.1
BuildVersion: 20G224
❯ minikube version
minikube version: v1.24.0
commit: 76b94fb3c4e8ac5062daf70d60cf03ddcc0a741b
I made a self-signed certificate example on NGINX pod. Omitting to…

홍한석
- 439
- 7
- 21
1
vote
0 answers
Getting Node.js To Trust Self Signed Certificate
I need to get a pre-packaged node.js application to trust a self signed certificate. Unfortunately it seems to use Linux file capabilities which means the NODE_EXTRA_CA_CERTS environment variable is ignored. It's a pre-packaged app so doing it via…

Harry Muscle
- 2,247
- 4
- 38
- 62