Generate certificate authority and certificate.

Closes #13.