details.sending = true;

          try {
            let response = await axios.post(`/api/certificate/${this.details.certificate.name}/renew`);

            while (true) {
              await delay(5000);

              response = await axios.get(response.headers["location"]);

              if (response.status === 200) {
                alert("The certificate was successfully renewed.");
                break;
              }
            }
          } catch (error) {
            this.handleHttpError(error