Changed ca_Certificate from resource to class.