Erlang -- Introduction

Secure Socket Layer

User's Guide

Version 9.2

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- Expand All
- Contract All

### Chapters

- Introduction
  - Top of chapter
  - Purpose
  - Prerequisites
- TLS/DTLS and TLS Predecessor, SSL
  - Top of chapter
  - Security Overview
  - Data Privacy and Integrity
  - Digital Certificates
  - Peer Authentication
  - TLS Sessions
- Using SSL application API
  - Top of chapter
  - Setting up Connections
  - Customizing cipher suits
  - Using an Engine Stored Key
- Using TLS for Erlang Distribution
  - Top of chapter
  - Building Boot Scripts Including the SSL Application
  - Specifying Distribution Module for net_kernel
  - Specifying SSL/TLS Options
  - Specifying SSL/TLS Options (Legacy)
  - Setting up Environment to Always Use SSL/TLS (Legacy)
  - Using SSL/TLS distribution over IPv6

# 1 Introduction

### 1.1 Purpose

Transport Layer Security (TLS) and its predecessor, the Secure Sockets Layer (SSL), are cryptographic protocols designed to provide communications security over a computer network. The protocols use X.509 certificates and hence public key (asymmetric) cryptography to authenticate the counterpart with whom they communicate, and to exchange a symmetric key for payload encryption. The protocol provides data/message confidentiality (encryption), integrity (through message authentication code checks) and host verification (through certificate path validation). DTLS (Datagram Transport Layer Security) that is based on TLS but datagram oriented instead of stream oriented.

### 1.2 Prerequisites

It is assumed that the reader is familiar with the Erlang programming language, the concepts of OTP, and has a basic understanding of SSL/TLS/DTLS.