public async Task RunAsync()
        {
            _listener.Start();

            while (!_stopRequired)
            {
                try
                {
                    MyHttpListenerContext context = await _listener.GetContextAsync().ConfigureAwait(false);

                    if (context == null)
                    {
                        return; // Слушатель был остановлен.
                    }
                    if (context.Request.Method == "GET" && context.Request.Uri.LocalPath.StartsWith("/.well-known/acme-challenge/"))
                    {
                        Log.Information($"Принят HTTP запрос: {context.Request.Uri.Scheme}://{context.Request.Uri.Host}/...");

                        MyHttpListenerResponse response = context.Response;
                        response.ContentType = "plain/text";

                        byte[] content = Encoding.ASCII.GetBytes(_keyAuthString);
                        response.ContentLength64 = content.Length;

                        using (response.OutputStream)
                        {
                            await response.OutputStream.WriteAsync(content, 0, content.Length).ConfigureAwait(false);

                            await response.OutputStream.CloseAsync().ConfigureAwait(false);
                        }

                        _tcs.TrySetResult(0);

                        Log.Information($"Отправлен ключ подтверждения.");
                    }
                }
                catch (HttpListenerClosedException)
                {
                    // Грациозная остановка.
                    break;
                }
                catch when(_stopRequired)
                    {
                        // Грязная остановка.
                        break;
                    }
            }
        }