Skip to content

Instantly share code, notes, and snippets.

View Bittarman's full-sized avatar

Ryan Mauger Bittarman

  • Yeovil, Somerset, UK
  • 13:36 (UTC +01:00)
View GitHub Profile

Client certificate authentication for NGINX

Generating CA certificate

On the server, generate the key and certificate

# openssl genrsa -des3 -out ca.key 4096

openssl req -new -x509 -days 3650 -key ca.key -out ca.crt