From Whitespace (Hackerspace Gent)
Revision as of 01:58, 6 November 2011 by Jaroslov (Talk | contribs)

Jump to: navigation, search

0x20 CA

  • CA with OpenSSL
    • all flat files in 1 directory
    • can easily be transported on an encrypted filesystem
  • Used for OpenVPN authentication


Check the openssl.cnf file with the 0x20 specific values:

  • root ca is valid for 15 years
  • certificates are valid for 5 years
  • DN: C=BE, ST=Ghent, L=Whitespace, O=0x20, CN=0x20 root ca
  • nsCaRevocationUrl =
  • extendedKeyUsage=serverAuth (server certs)
  • extendedKeyUsage=clientAuth (client certs)

Create a CA

$ openssl req -new -x509 -days 5475 -newkey rsa:4096 -extensions v3_ca -keyout \ 
private/ca-0x20-key.pem -out ca-0x20-cert.pem -config ./openssl.cnf