SSL - Self Signed Certificate with Wildcard


Niek Vandael

I created a certificate with CN: *.hostname

Chome and IE complain about this certificate when I navigate to dev.hostname or tst.hostname:

Error in Chrome: NET::ERR_CERT_COMMON_NAME_INVALID

Yes, I have added the certificate to Trusted Root CAs.

Should I add .local or similar?

Steffen Ullrich

I don't think most browsers allow wildcards at the second level, because usually a single entity doesn't own a top-level domain. So you need to use *.foo.localinstead *.foo.

Related


SSL - Self Signed Certificate with Wildcard

Niek Vandael I created a certificate with CN: *.hostname Chome and IE complain about this certificate when I navigate to dev.hostname or tst.hostname: Error in Chrome: NET::ERR_CERT_COMMON_NAME_INVALID Yes, I have added the certificate to Trusted Root CAs. Sho

Self-signed wildcard certificate

Daniel Vandenberg I have pihole set up at home, so I want to be able to use my own server to handle requests to any website to display the "This site is blocked" page. I am trying to do this by creating a self signed certificate for any url and installing it o

Self-signed wildcard certificate

Daniel Vandenberg I have pihole set up at home, so I want to be able to use my own server to handle requests to any website to display the "This site is blocked" page. I am trying to do this by creating a self signed certificate for any url and installing it o

Determine if SSL certificate is self-signed with Python

CEDIT: I am trying to determine if an SSL certificate is self-signed. Currently, I have the following code that compares the issuer CN and the subject CN, and if they are the same, marks the result as self-signed. with open(cert_file, "r") as f: x509 = Op

Check the validity of the SSL self-signed certificate

Manish Iarhovich: I have generated self signed certificate by next command: /bin/bash -c 'openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 5 -nodes And check the certificate, which is valid for the next 5 days. I need to write a script t

Use a self-signed SSL certificate

Monday: I'm trying to use this certificate with a connection between an InfluxDB rest endpoint behind an Nginx reverse proxy and my simple client written in GoLang. I got started with openssl generated SSL certificates using the tutorial in this link , which g

ssl using python self signed certificate

Doy I am trying to build a simple server in python with self signed certificate. I created .cer, .pfx, .pvk files using makecert. context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) context.load_cert_chain(certfile="ServerSSL.cer") Traceback (most r

Swift SSL error with self signed certificate

Marcus Leon This code tries but fails to access the SSL URL available in the browser: let path = "https://localhost:8443/greeting" let request = NSMutableURLRequest(URL: NSURL(string: path)!) let session = NSURLSession.sharedSession() let task = session.dataT

ssl self signed certificate error - localhost

Rafał Developer I'm using this class and it's fun, but I have some questions. http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api I get a certificate error, but I know why this problem occurs. The certificate should be connected to the

Check the validity of the SSL self-signed certificate

Manish Iarhovich: I have generated self signed certificate by next command: /bin/bash -c 'openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 5 -nodes And check the certificate, which is valid for the next 5 days. I need to write a script t

Java: SSL client authentication with self signed certificate

Chris: I'm trying to secure a connection for a Java client/server application that communicates over the internet. My idea is to use SSL sockets with self signed certificates and client authentication. I did the following: Server: The keystore containing the n

Use a self-signed SSL certificate

Monday: I'm trying to use this certificate with a connection between an InfluxDB rest endpoint behind an Nginx reverse proxy and my simple client written in GoLang. I got started with openssl generated SSL certificates using the tutorial in this link , which g

Use a self-signed SSL certificate

Monday: I'm trying to use this certificate with a connection between an InfluxDB rest endpoint behind an Nginx reverse proxy and my simple client written in GoLang. I got started with openssl generated SSL certificates using the tutorial in this link , which g

Heroku SSL with Self-Signed Certificate

Ilopezluna Follow these steps: https://devcenter.heroku.com/articles/ssl-endpoint I have added the SSL Endpoint add-on to a Heroku hosted server . Then, I created a self-signed certificate like this : https://devcenter.heroku.com/articles/ssl-certificate-self

Swift SSL error with self signed certificate

Marcus Leon This code tries but fails to access the SSL URL available in the browser: let path = "https://localhost:8443/greeting" let request = NSMutableURLRequest(URL: NSURL(string: path)!) let session = NSURLSession.sharedSession() let task = session.dataT

Swift SSL error with self signed certificate

Marcus Leon This code tries but fails to access the SSL URL available in the browser: let path = "https://localhost:8443/greeting" let request = NSMutableURLRequest(URL: NSURL(string: path)!) let session = NSURLSession.sharedSession() let task = session.dataT

Swift SSL error with self signed certificate

Marcus Leon This code tries but fails to access the SSL URL available in the browser: let path = "https://localhost:8443/greeting" let request = NSMutableURLRequest(URL: NSURL(string: path)!) let session = NSURLSession.sharedSession() let task = session.dataT

Swift SSL error with self signed certificate

Marcus Leon This code tries but fails to access the SSL URL available in the browser: let path = "https://localhost:8443/greeting" let request = NSMutableURLRequest(URL: NSURL(string: path)!) let session = NSURLSession.sharedSession() let task = session.dataT

ssl self signed certificate error - localhost

Rafał Developer I'm using this class and it's fun, but I have some questions. http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api I get a certificate error, but I know why this problem occurs. The certificate should be connected to the

ssl using python self signed certificate

Doy I am trying to build a simple server in python with self signed certificate. I created .cer, .pfx, .pvk files using makecert. context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) context.load_cert_chain(certfile="ServerSSL.cer") Traceback (most r

ssl self signed certificate error - localhost

Rafał Developer I'm using this class and it's fun, but I have some questions. http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api I get a certificate error, but I know why this problem occurs. The certificate should be connected to the

Use a self-signed SSL certificate

Monday: I'm trying to use this certificate with a connection between an InfluxDB rest endpoint behind an Nginx reverse proxy and my simple client written in GoLang. I got started with openssl generated SSL certificates using the tutorial in this link , which g

Ignore self-signed SSL certificate in extraction

Emby I'm fetchusing in react-native app and I use charles proxy to debug my network requests. In order to use charles with SSL, I need to configure fetch to accept the self-signed certificate generated by charles. How can I tell fetch to ignore errors in self-

How to create a self-signed SSL certificate?

Stefano Palazzo I have set up SSL on the webserver and now need two files: Certificate certificate key How to create a self-signed certificate for testing purposes? Stefano Palazzo Ubuntu, even the "minimal" flavor, comes with ssl-certpackages pre-installed, w

How to create a self-signed SSL certificate?

Stefano Palazzo I have set up SSL on the webserver and now need two files: Certificate certificate key How to create a self-signed certificate for testing purposes? Stefano Palazzo Ubuntu, even the "minimal" flavor, comes with ssl-certpackages pre-installed, w

Import Self-Signed SSL Certificate on MacOS

Ryan Bell I generated a self signed certificate with openssl and added it to my linux server. Then I imported the certificate with Keychain Access on the Mac into the system keychain using the setting "Always Trust". However, when I view the page in Chrome, I

Import Self-Signed SSL Certificate on MacOS

Ryan Bell I generated a self signed certificate with openssl and added it to my linux server. Then I imported the certificate with Keychain Access on the Mac into the system keychain using the setting "Always Trust". However, when I view the page in Chrome, I

Use a self-signed SSL certificate

Mikayegi I'm developing an online store based on Telegram Bot and I need to host it on a VPS. What are the dangers if I use a self-signed SSL certificate? I've found MiTM attack threats online, but I can't find detailed instructions on how to avoid this threat

UWP BackgroundDownloader with self-signed SSL certificate

Andy Is there a way to download some data via BackgroundDownloader from a server in the BackgroundTransfer namespace, using a self-signed SSL certificate? On Windows 10 Mobile, I can install my self-signed SSL certificate and it works, but on desktop, this met