Questions tagged [ssl-certificate]

An SSL certificate is an X.509 certificate that is used to provide authentication, privacy and integrity for a secure connection. Although the acronym refers to Secure Sockets Layer, the SSL protocol is deprecated and the certificates are more commonly used for Transport Layer Security (TLS) connections.

An SSL certificate is an X.509 certificate that is used to provide authentication, privacy and integrity for a secure connection. Although the acronym refers to Secure Sockets Layer, the SSL protocol is deprecated and the certificates are more commonly used for Transport Layer Security (TLS) connections.

10580 questions
171
votes
9 answers

How do I restore a missing IIS Express SSL Certificate?

After setting up HTTPS in IIS Express, according to such articles as this and this, I am unable to actually load an IIS Express site using HTTPS. In Chrome, I am only getting: This webpage is not available (with error code…
Chris Simmons
  • 6,924
  • 5
  • 31
  • 47
168
votes
3 answers

Wildcard SSL on sub-subdomain

We have a wildcard SSL certificate for *.domain.example, and have a website with sub1.sub2.domain.example. Safari 4.0.4 on macOS pops up a certificate error(presumably because of wildcard interpretation), while Safari 4 on Windows does not. Also IE8…
porto alet
  • 1,895
  • 2
  • 14
  • 16
166
votes
4 answers

How does SSL really work?

How does SSL work? Where is the certificate installed on the client (or browser?) and the server (or web server?)? How does the trust/encryption/authentication process start when you enter the URL into the browser and get the page from the server?…
Vicky
  • 11,077
  • 11
  • 35
  • 29
165
votes
3 answers

How do I setup a SSL certificate for an express.js server?

Before, in an older version of express, I could do this: express.createServer({key:'keyFile', cert:'certFile'}); However, in newer versions of express this no longer works: var app = express(); Should I call app.use() to set the certs? If so how?
murvinlai
  • 48,919
  • 52
  • 129
  • 177
157
votes
6 answers

Letsencrypt add domain to existing certificate

I am just simply trying to add the domain test.example.com to the certificate that already exists for example.com. How do I add a domain to my existing certificate and replace the old certificate? I have tried these few commands ./letsencrypt-auto…
Jeff Davenport
  • 2,624
  • 2
  • 13
  • 19
156
votes
16 answers

Converting a Java Keystore into PEM Format

I am trying to convert from a Java keystore file into a PEM file using keytool and openssl applicactions. But I could not find a good way to do the conversion. Any ideas? Instead of converting the keystore directly into PEM I tried to create a…
Chathuranga Chandrasekara
  • 20,548
  • 30
  • 97
  • 138
155
votes
9 answers

bypass invalid SSL certificate in .net core

I am working on a project that needs to connect to an https site. Every time I connect, my code throws exception because the certificate of that site comes from untrusted site. Is there a way to bypass certificate check in .net core http? I saw…
Ramppy Dumppy
  • 2,667
  • 7
  • 27
  • 37
154
votes
7 answers

Convert pfx format to p12

I need to export a .pfx format certificate (from Windows MMC) to .p12 to use in another application. I cant find a way to do this. Can anyone suggest a method?
Tom Squires
  • 8,848
  • 12
  • 46
  • 72
154
votes
7 answers

How to create a self-signed certificate for a domain name for development on Windows 10 and below?

I have subdomain.example.com that I use for development purposes. My web application solution contains a web API etc, that I need to call from external systems, hence I am not using localhost. I now need to test for SSL and need a certificate for my…
Moiz Tankiwala
  • 6,070
  • 7
  • 38
  • 51
150
votes
13 answers

Get angular-cli to ng serve over HTTPS

The following doesn't seem to do anything. ng serve --ssl true --ssl-key --ssl-cert Creating the Certificate and key by providing them in the default ssl directory still does nothing. It looks like ng server is completely…
grim_i_am
  • 3,664
  • 5
  • 19
  • 19
148
votes
22 answers

How to fix the "java.security.cert.CertificateException: No subject alternative names present" error?

I have a Java web service client, which consumes a web service via HTTPS. import javax.xml.ws.Service; @WebServiceClient(name = "ISomeService", targetNamespace = "http://tempuri.org/", wsdlLocation = "...") public class ISomeService extends…
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
143
votes
7 answers

Docker container SSL certificates

Is there any elegant way to add SSL certificates to images that have come from docker pull?. I'm looking for a simple and reproducible way of adding a file into /etc/ssl/certs and run update-ca-certificates. (This should cover ubuntu and Debian…
Beau Trepp
  • 2,610
  • 4
  • 22
  • 30
135
votes
14 answers

iOS9 getting error “an SSL error has occurred and a secure connection to the server cannot be made”

Since I upgraded my existing project with iOS 9, I keep getting the error : An SSL error has occurred and a secure connection to the server cannot be made.
Nanda
  • 1,437
  • 2
  • 11
  • 10
135
votes
4 answers

How to turn off all SSL checks on Postman for a specific site?

Please read this carefully. Please do not send me a link on how to import a certificate. I am using Postman for QA and testing work. I have a test system I frequently rebuild myself and so it is completely trusted. It has a custom self-signed…
PJLopez
  • 1,459
  • 2
  • 9
  • 4
133
votes
15 answers

Disabling SSL Certificate Validation in Spring RestTemplate

I am having two Spring-based web apps A and B, on two different machines. I want to make an HTTPS call from web app A to web app B, however, I am using a self-signed certificate in Machine B. So my HTTPS request fails. How can I disable HTTPS…
Prabhu R
  • 13,836
  • 21
  • 78
  • 112