def METHOD_NAME(self, cert_path):
    ssl_options = None
    if self.configuration.get("useSsl", False):
        ssl_options = generate_ssl_options_dict(protocol=self.configuration["sslProtocol"], cert_path=cert_path)
    return ssl_options