An open API service indexing awesome lists of open source software.

https://github.com/thearpankumar/nginx-mlkem

Bash Script to setup Nginx with MLkem and TLS 1.3
https://github.com/thearpankumar/nginx-mlkem

Last synced: about 1 year ago
JSON representation

Bash Script to setup Nginx with MLkem and TLS 1.3

Awesome Lists containing this project

README

          

# Post-Quantum Secure Nginx Setup with OpenQuantumSafe (OQS) Provider

This script sets up an **Nginx web server with post-quantum secure SSL** using the **OpenQuantumSafe (OQS) provider** and self-signed certificates. It automates the process of installing dependencies, configuring OpenSSL, setting up Nginx, and mapping the domain `example.com` to `localhost`.

## 🚀 Features
- Installs and configures **OpenQuantumSafe (OQS) provider** for **post-quantum secure encryption**.
- **Generates a self-signed SSL certificate** for secure HTTPS access.
- Configures **Nginx** to use **TLSv1.3** with post-quantum cryptography.
- **Redirects HTTP traffic to HTTPS** automatically.
- **Maps `example.com` to localhost** in `/etc/hosts` for local testing.
- Creates a **basic website** that displays SSL curve information.

---

## 🛠 Installation {UBUNTU 22.04}

### **1️⃣ Clone the Repository**
```sh
git clone https://github.com/your-repo/post-quantum-nginx.git
cd post-quantum-nginx
```

### **2 ⃣ Run the Script**

```sh
chmod +x setup_pqc_nginx.sh
sudo ./setup_pqc_nginx.sh
```

## # Correct Output

![Alt Text](./OUTPUT.png "Title or Tooltip")