https://github.com/ericogr/pinned-public-client-cert-test
Make nginx validate client cert
https://github.com/ericogr/pinned-public-client-cert-test
Last synced: 4 months ago
JSON representation
Make nginx validate client cert
- Host: GitHub
- URL: https://github.com/ericogr/pinned-public-client-cert-test
- Owner: ericogr
- Created: 2025-01-10T22:37:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-17T23:42:08.000Z (over 1 year ago)
- Last Synced: 2025-08-01T12:58:29.943Z (11 months ago)
- Language: Makefile
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple example using Nginx to validate client certs
## Requirements
- linux (validated on ubuntu 24.04)
- GNU Make (validated on 4.3)
- docker community (validated on 27.4.1)
## Step by step
First, build the environment:
```bash
make
```
Test the request without certs:
```bash
make test-without-certs
```
Test the request with certs:
```bash
make test-with-certs
```
Test all:
```bash
make test
```
## Additional example
As an additional example, an nginx_local_server was configured to connect to the nginx_remote_server using a pinned certificate. This setup allows the local Nginx to forward requests to the remote server with the pinned certificate, eliminating the need to modify the application.