This article has been indexed from DZone Security Zone
Mastering Two-Way TLS
This tutorial will walk you through the process of protecting your application with TLS authentication, only allowing access for certain users based on their certificates. This means that you can choose which users are allowed to call your application.
Table of Contents
- Introduction
- Tutorial
- Starting the server
- Saying hello to the server (without encryption)
- Enabling HTTPS on the server (one-way TLS)
- Require the client to identify itself (two way TLS)
- Two way TLS based on trusting the Certificate Authority
- Automated scripts
- Tested HTTP Clients
- Demo and walk-through video
Introduction
This sample project demonstrates a basic setup of a server and a client. The communication between the server and client happens through HTTP, so there is no encryption at all yet. The goal is to ensure that all communication will be encrypted.
Read the original article: How to Easily Set Up Mutual TLS