First stages of CA infastrucre. Incomplete and using OpenSSL.