def METHOD_NAME(self):
    if self._certfile is None:
        return super().METHOD_NAME()
    newsocket, fromaddr = self.socket.accept()
    connstream = ssl.wrap_socket(
        newsocket,
        server_side=True,
        certfile=self._certfile,
        keyfile=self._keyfile,
        ssl_version=ssl.PROTOCOL_TLSv1_2,
    )
    return connstream, fromaddr