CertificateRequest

```python CertificateRequest(self, unit, cert_type, cert_name, common_name, sans) ```

cert

The cert published for this request, if any.

cert_type

Type of certificate, 'server' or 'client', being requested.

Certificate

```python Certificate(self, cert_type, common_name, cert, key) ``` Represents a created certificate and key. The ``cert_type``, ``common_name``, ``cert``, and ``key`` values can be accessed either as properties or as the contents of the dict.