Apache Mina TCP Server using SSL

This is the second post on the Apache Mina series. In the first post, I show how to build a simple TCP Application using Mina, Xstream and we did create a Client which we test with Junit and also Telnet. Now we will do something a bit different, we will add SSL support. So there is another video where I explain in detail how we can generate the keys, also test the application using the OpenSSL client in Linux. So Let’s get started!

The Video

The Code

Cheers,

Diego Pacheco

Originally published at http://diego-pacheco.blogspot.com on February 25, 2021.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store