Added generate_cacert method which provides certificate authority to verify certificates.