def METHOD_NAME(self, rest_app, port):
    return HendrixDeployTLS("start",
                            key=self._privkey,
                            cert=X509.from_cryptography(self.certificate),
                            context_factory=ExistingKeyTLSContextFactory,
                            context_factory_kwargs={"curve_name": _TLS_CURVE.name, "sslmethod": TLSv1_2_METHOD},
                            options={
                                "wsgi": rest_app,
                                "https_port": port,
                                "max_upload_bytes": MAX_UPLOAD_CONTENT_LENGTH,
                                'resources': get_static_resources(),
                            })