# Renewing SSL Certificates

## How long do these SSL certificates last?

Gilect’s SSLs last for three months before they expire. You can renew them as many times as you want.

## When should I renew my SSL certificate?

It is recommended to renew your certificates a few weeks prior to the expiration date to avoid disruption to your website. You will be emailed when your SSL is about to expire. Please check your spam bin if you do not receive such emails.

## How do I renew SSL certificates

Currently, there is no automated way of renewing certificates. It is required that you generate a new certificate and install it.

### Copying the CSR code

You can simply copy the CSR code from your previous certificate and use it to generate your old certificate.

![Copy the CSR code...](/files/JsEaSs1dFd0mfGs7E2FY)

![Paste the CSR Code](/files/TpnKNvtAv6zijCqfd0fu)

Make sure that you include

> —–BEGIN CERTIFICATE REQUEST—–

and…

> —–END CERTIFICATE REQUEST—–

### Generating the new certificate

Please read here for reference on how to generate an SSL certificate

{% content-ref url="/pages/HyjX7atJ70IJZiiQsjSJ" %}
[Creating an SSL Certificate](/ssl/creating-an-ssl-certificate.md)
{% endcontent-ref %}

### Installing the SSL certificate

Please read here for reference on how to install an SSL certificate.

{% content-ref url="/pages/ZKnrQXqqY4uHyMe0zIMi" %}
[Installing The SSL Certificate](/ssl/installing-the-ssl-certificate.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.gilect.com/ssl/renewing-ssl-certificates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
