Skip to content

Repository files navigation

CTU-Core

CTU-Core is a Netty-based Java client-server application that facilitates communication between clients and servers with advanced encryption methods such as SSL, TLS, compression, and other features.

Installation

To get started with CTU-Core, please follow these steps:

  1. Clone the repository onto your local machine.
  2. Open the project in your preferred Java IDE.
  3. Use your IDE's build tools to build the project.

If you prefer, you may use Maven in your project by including the following packages.

Usage

Check Example Server / Example Client for details on how to configure the client and/or server.

SSL & TLS (server.key & server.crt)

You can now generate your SSL & TLS vis this file GenerateSSLCerts

OR

  1. Install OpenSSL on your machine if you don't already have it. You can download OpenSSL from the official website or use your system's package manager.
  2. Open a command prompt or terminal window.
  3. Navigate to the directory where you want to generate the certificate and key files.
  4. Generate a private key using OpenSSL: This command generates a 2048-bit RSA private key and saves it to a file named server.key.
openssl genrsa -out server.key 2048
  1. Create a self-signed SSL/TLS certificate using OpenSSL: This command generates a self-signed X.509 certificate and saves it to a file named server.crt. The certificate is valid for 365 days from the current date.
openssl req -new -x509 -key server.key -out server.crt -days 365
  1. You can now place both the server.key and server.crt files in the server's running directory. Additionally, you should place the server.crt file in the client's running directory.

About

CTU-Core is a Netty-based Java client-server application that facilitates communication between clients and servers with advanced encryption methods such as SSL, TLS, compression, and other features.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages