Skip to content

Instantly share code, notes, and snippets.

View billju's full-sized avatar

ChuBoy billju

  • NCTU
  • Taiwan
View GitHub Profile
@alexishida
alexishida / nginx-config-auth-cert-ssl.md
Last active October 24, 2024 23:56
Tutorial to configure Nginx client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.

Original: https://gist.github.com/mtigas/952344

Convert SSL certificate from CRT format to PEM

openssl x509 -in server.crt -out server.der -outform DER
openssl x509 -in server.der -inform DER -out server.pem -outform PEM