Questions tagged [ssl]

SSL/TLS is a cryptographic protocol designed to provide communications security over a computer network. It is the S in HTTPS, IMAPS, SMTPS, etc.

TLS, also known as SSL, is a protocol for secure communication over an insecure channel.

Originally invented for HTTP traffic, TLS is commonly used for protocols such as POP3, IMAP, SMTP, LDAP, etc. With some protocols, TLS is usually used on separate ports, most famously port 443 for HTTPS (HTTP over SSL/TLS) (as opposed to plain HTTP on port 80). These protocols typically have names which have a trailing letter S (such as HTTPS vs. HTTP). Some protocols, such as SMTP, POP3 and IMAP, allow to initiate SSL by the STARTTLS command. A variant of the protocol called DTLS is used on top of UDP . [SSH] is a completely separate protocol that a similar design.

Technically SSL designates obsolete proprietary versions of the protocol (SSL2 and SSL3), and TLS designates the more modern versions (TLS1.0, TLS1.1, TLS1.2 and the upcoming TLS1.3). As of 2017, SSL3 and below are insecure and should not be used, and TLS1.0 and TLS1.1 are on their way out.

Most ways of establishing a secure channel require at least the client to authenticate the server. This is done using public-key cryptography, with a chain of X.509 certificates : a client trusts a server if there is a chain of certificates where the server's certificate is signed by a certificate authority (CA), and the CA's certificate is signed by another CA, and so on until a root CA is reached. A root CA is one that is distributed with the operating system or client application and that the client considers to be trusted by default. Certificates can also allow the server to authenticate the client.

Background topics on SSL/TLS

675 questions
7
votes
1 answer

What is the difference between /usr/lib and /usr/local/lib?

I am on Void Linux. I installed libressl through the Void package manager. It put libssl.so.48.0.1 in /usr/lib. with this setup I was getting errors and https would not work properly in my apps. So i compiled openssl-1.1 from source and copied…
l3gi0n
  • 107
6
votes
0 answers

What's in the /etc/pki/nssdb database?

So, these files aren't empty... [ root@localhost ] # ls -l total 248 -rw-r--r--. 1 root root 65536 Jan 12 2010 cert8.db -rw-r--r--. 1 root root 65536 Dec 23 2013 cert8.db.orig -rw-r--r--. 1 root root 9216 Jan 12 2010 cert9.db -rw-r--r--. 1 root…
dafydd
  • 1,458
3
votes
1 answer

How can I install Fiddler ca-certificate on Ubuntu to decrypt HTTPS?

I am trying to get my Ubuntu machine to properly recognize and use the certificate from Fiddler as a trusted source so I can decryt HTTPS traffic (specifically to google-analytics). I had this working once before, but had to since reinstall Ubuntu…
Ryan
  • 31
2
votes
2 answers

Enforce site-wide SSL on Debian LAMP

I have a Debian/Linux Lenny LAMP server with Plesk Panel 10.2. I have a PHP/MySQL webapp deployed in a Plesk "webspace". I want to enforce SSL site-wide. Do I just forward port 80 to 443? For my single domain cert, do I forward www.example.com to…
Tom
  • 424
1
vote
1 answer

How to install an SSL Certificate on a subdomain where the domain points to a Hostinger VPS Apache Server running Ubuntu 20.04

Using Certbot, I installed a letsencrypt SSL Certificate for my domain which points a Hostinger Apache Server running Ubuntu 20.04. I am having trouble installing a certificate for my subdomain. I created an A record (Name: www) that points to my…
Len
  • 11
1
vote
1 answer

root CA with chain url

How to check with openssl what is the download URL to the Intermediate and Root CA Certificates on provider site? I mean, if the site cert comes from Rapidssl, how to find the path to CA using openssl which are to download on: RapidSSL Intermediate…
Chris
  • 4,091
1
vote
2 answers

How to validate X.509 certificate?

I have a following expired X.509 certificate: $ openssl x509 -in openvpn.net -text -noout Certificate: Data: Version: 3 (0x2) Serial Number: 03:fa:55:a7:80:b5:b5 Signature Algorithm: sha256WithRSAEncryption …
Martin
  • 73
0
votes
1 answer

How do I verify a TLS certificate with a self-signed CA?

I generate TLS certificates and sign them using a self-signed CA. There are numerous small errors that can happen in this process and cause the certificate to get rejected. Browser seem to serve very opaque errors, which give some generic TLS error…
Bagalaw
  • 945
0
votes
0 answers

How to set a free (gratis) SSL certificate?

I have the following set of instructions on how to bootstrap a website hosting environment #!/bin/bash apt update -y apt upgrade ufw sshguard unattended-upgrades wget curl git zip unzip tree -y ufw --force enable ufw allow 22,25,80,443 apt install…
0
votes
1 answer

How to set message validity

I am using Shibboleth for single user authentication and it needs a ssl configuration which facilitates the user authentication process. Before it was working fine but now I am facing a SSL handshake failure error and the secure connection is being…
0
votes
0 answers

Deleting ssl.conf a problem in apache set up?

To stop warnings from a free ssl cert I set up a while back and not knowing how to undo it I ended up deleting my ssl.conf file in the etc/ssl folder but now I am wondering if that comes with apache by default and necessary for running other…
cea
  • 1,543