'Load a certificate from a file
:param certfile: The name of the certificate file (``bytes`` or
``unicode``).
:param filetype: (optional) The encoding of the file, default is PEM
:return: None'

def use_certificate_file(self, certfile, filetype=FILETYPE_PEM):

    certfile = _path_string(certfile)
    if (not isinstance(filetype, integer_types)):
        raise TypeError('filetype    must    be    an    integer')
    use_result = _lib.SSL_CTX_use_certificate_file(self._context, certfile, filetype)
    if (not use_result):
        _raise_current_error()
