Questions tagged [ssl]

Secure Sockets Layer (SSL) is a cryptographic protocol, now superseded by Transport Layer Security (TLS) that provides secure communications over the Internet. Often, SSL is used as a blanket term and refers to both the SSL protocol and the Transport Layer Security (TLS) protocol. The most recent version of the protocol is TLS version 1.3, specified by the IETF in RFC 8446.

'Secure Sockets Layer' was originally a comp.sources Usenet post in the 1980s, using a fairly primitive security protocol. Netscape Communication Corp pioneered the current SSL protocol, in SSL 2.0, the first version deployed, followed by SSL 3.0. At that point the IETF decided to standardize on this protocol, so RFC 2246 defined the next version of this protocol. There was some uncertainty over the intellectual property rights to the SSL name so the IETF chose the name Transport Layer Security (TLS). Today the names SSL and TLS are essentially synonyms. However, if you refer to a specific version you should include the correct name, e.g SSL 3.0 or TLS 1.1. As a progression it goes SSL 2.0 < SSL 3.0 < TLS 1.0 < TLS 1.1 < TLS 1.2 < TLS 1.3, where "<" means "precedes".

Current security standards forbid running any SSL version or TLS 1.0 (due to their various flaws). It is recommended to run only TLS 1.2 and TLS 1.3.

TLS was originally developed to run above a connection-oriented protocol, i.e. TCP. Later, TLS modified to run over connectionless protocols like UDP by way of Datagram Transport Layer Security (DTLS).

TLS is a mature protocol, now more than 20 years old, with vast support on a multitude of clients, servers, platforms, and libraries. However, there is some complexity around the cipher suites, the TLS Extensions, and the certificate validation, that regularly introduced reasons ending in non-interoperability. Perhaps the most well-known protocol that uses TLS is the HTTPS protocol, which is the HTTP protocol running over TLS.

Stackoverflow is for programming questions, and that is also true for questions tagged with TLS or SSL. In particular, server configuration questions are off-topic and instead should be asked on ServerFault.

50662 questions
14
votes
1 answer

ERR_CONNECTION_RESET with SSL and ASP.NET

So, this is my first time diving into ASP.NET. I've programmed in C# before (Unity), but I've never made a ASP.NET app. The problem is, I can't seem to get SSL to work! When I create a new project using these steps, I get the following…
Ayush Garg
  • 2,234
  • 2
  • 12
  • 28
14
votes
1 answer

got java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty when using cas

we get the following exception in our application under tomcat which is using cas. java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty when I google for it I found some guess and solutions but no one…
Jimmy1980
  • 167
  • 1
  • 1
  • 4
14
votes
3 answers

ftp_ssl_connect with implicit ftp over tls

Can ftp_ssl_connect handle Implicit FTP over TLS? By default it uses explicit. I'm trying to upload to a server that accepts only Implicit ftp over tls on port 990; has anybody run into this as of yet? How did you fix it?
Rasiel
  • 2,823
  • 6
  • 31
  • 37
14
votes
4 answers

how do you enable ssl using laravel 8 sail

I just created a new Laravel 8 project, following the instructions in their docs. Using Laravel Sail I have the site running locally on my machine just fine using sail up. I have set up an entry in /etc/hosts so the url I go to is…
smenzer
  • 307
  • 1
  • 2
  • 9
14
votes
4 answers

how to debug an ssl connection?

I have a client application that connects to a web service over https. I need to "sniff" all the network traffic between web service and my client to check if everything is okay, i.e, i have to debug the connection. I have tried Wireshark but since…
Hayri Uğur Koltuk
  • 2,970
  • 4
  • 31
  • 60
14
votes
1 answer

Proxy HTTP requests to an HTTPS server in nginx

I would like to set up an nginx instance which would proxy HTTP requests starting in /api to an HTTPS server, but the /api URL segment should be omitted out. For example, the instance should listen to localhost:9817. And if it receives a request to…
Eugene Garbuzov
  • 193
  • 1
  • 4
  • 9
14
votes
3 answers

Implementing TLS 1.2 on Android 2.3.3

I have been trying to implement TLS 1.2 on Android. I create an SSLSocket s but when I run s.getSupportedProtocols(), TLS 1.2 is not one of the options. TLSv1 and SSLv3 are supported but TLSv1.2 is not. In relation to that question, the ciphersuite…
Otra
  • 171
  • 1
  • 2
  • 5
14
votes
2 answers

can't get certs working with cert-manager

I can't seem to get cert-manager working: $ kubectl get certificates -o wide NAME READY SECRET ISSUER STATUS AGE example-ingress False …
yee379
  • 6,498
  • 10
  • 56
  • 101
14
votes
2 answers

How to add client certificates to the Spring WebClient?

I'm building a Spring WebClient which internally calls to REST API's which are hosted in different server. To do that I need to send public key (.cert) and private key (.key) to every request for the handshake. I'm not sure how to do that with…
user3470629
  • 511
  • 1
  • 8
  • 20
14
votes
5 answers

SSLKEYLOGFILE environment variable doesn't populate any text file

My operating system is Windows 10 64 bits. I use the latest versions of Firefox and Chrome. I want to save the pre-master keys in order to use them with WireShark. For this, I have found many tutorials that all recommend using the SSLKEYLOGFILE…
Pascal Bergeron
  • 761
  • 3
  • 12
  • 27
14
votes
2 answers

Handling X-FORWARDED-PROTO header in Java web application

Can any one guide me in working with X-FORWARDED-PROTO header in Java web application deployed to Apache Tomcat. The application setup is in such a way that tomcat talks with Apache webserver, which in turn talks with Cisco Load Balancer, finally…
Manoj
  • 141
  • 1
  • 1
  • 5
14
votes
2 answers

HTTPs proxy server only works in SwitchOmega

I did quite a lot search and pratical trials before asking this question. Long story: I found a (non-English)tutorial about how to write a http proxy with Node.js. So far what I've known and tried: A HTTP proxy can handle both HTTP request and…
Rick
  • 7,007
  • 2
  • 49
  • 79
14
votes
2 answers

Heroku redirect Next.js React client app http to https

I have an express server deployed on Heroku: https://server.mydomain.com and a Next.js React app also deployed on Heroku: https://app.mydomain.com Both have their SSL certificates automatically configured by Heroku, and when I visit the https…
5tormTrooper
  • 893
  • 7
  • 21
14
votes
3 answers

Ansible: Create a Self-Signed SSL Certificate and Key

I want to create a self signed certificate to use it with stunnel, in order to securely tunnel my redis traffic between the redis server and client. I'm using this command to generate the certificate and it works fine. openssl req -x509 -nodes -days…
Tom
  • 4,070
  • 4
  • 22
  • 50
14
votes
3 answers

Workaround for Heroku no longer supporting SSL behind Cloudflare ("Strict TLS in CDN not supported")?

A few days ago we received the error "Strict TLS in CDN not supported" on 1 Heroku app that's behind Cloudflare's proxy (orange cloud, if you know Cloudflare). Basically, client requests to https://foo.example.com are proxied through Cloudflare, who…
Charlie Schliesser
  • 7,851
  • 4
  • 46
  • 76
1 2 3
99
100