Skip to content

Instantly share code, notes, and snippets.

@jordanyaker
Created February 3, 2016 21:35
Show Gist options
  • Save jordanyaker/9c12bdc7948af3a8685e to your computer and use it in GitHub Desktop.
Save jordanyaker/9c12bdc7948af3a8685e to your computer and use it in GitHub Desktop.
Securing Websites With Nginx And Client-Side Certificate Authentication On Linux
openssl ca -name CA_Default \
-revoke /etc/ssl/ca/certs/users/USERNAME.crt \
-keyfile /etc/ssl/ca/private/ca.key \
-cert /etc/ssl/ca/certs/ca.crt
openssl ca -name CA_Default -gencrl \
-keyfile /etc/ssl/ca/private/ca.key \
-cert /etc/ssl/ca/certs/ca.crt \
-out /etc/ssl/ca/private/ca.crl \
-crldays 1095
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment