@@ -236,7 +236,9 @@ To secure your custom domain with GitLab Pages you can opt by:
...
@@ -236,7 +236,9 @@ To secure your custom domain with GitLab Pages you can opt by:
- Manually adding SSL/TLS certificates to GitLab Pages websites
- Manually adding SSL/TLS certificates to GitLab Pages websites
by following the steps below.
by following the steps below.
### Requirements
### Manual addition of SSL/TLS certificates
You can use any certificate satisfying the following requirements:
- A GitLab Pages website up and running accessible via a custom domain.
- A GitLab Pages website up and running accessible via a custom domain.
-**A PEM certificate**: it is the certificate generated by the CA,
-**A PEM certificate**: it is the certificate generated by the CA,
...
@@ -250,7 +252,10 @@ To secure your custom domain with GitLab Pages you can opt by:
...
@@ -250,7 +252,10 @@ To secure your custom domain with GitLab Pages you can opt by:
-**A private key**, it's an encrypted key which validates
-**A private key**, it's an encrypted key which validates
your PEM against your domain.
your PEM against your domain.
### Steps
NOTE: **Note:**
[Cloudflare certificates](https://about.gitlab.com/blog/2017/02/07/setting-up-gitlab-pages-with-cloudflare-certificates/), for example, meet these requirements.
#### Steps
- To add the certificate at the time you add a new domain, go to your
- To add the certificate at the time you add a new domain, go to your
project's **Settings > Pages > New Domain**, add the domain name and the certificate.
project's **Settings > Pages > New Domain**, add the domain name and the certificate.
| [Custom domains and SSL/TLS Certificates](custom_domains_ssl_tls_certification/index.md) | Custom domains and subdomains, DNS records, and SSL/TLS certificates. |
| [Custom domains and SSL/TLS Certificates](custom_domains_ssl_tls_certification/index.md) | Custom domains and subdomains, DNS records, and SSL/TLS certificates. |
| [Let's Encrypt integration](custom_domains_ssl_tls_certification/lets_encrypt_integration.md) | Secure your Pages sites with Let's Encrypt certificates, which are automatically obtained and renewed by GitLab. |
| [Let's Encrypt integration](custom_domains_ssl_tls_certification/lets_encrypt_integration.md) | Secure your Pages sites with Let's Encrypt certificates, which are automatically obtained and renewed by GitLab. |
| [Cloudflare certificates](https://about.gitlab.com/blog/2017/02/07/setting-up-gitlab-pages-with-cloudflare-certificates/) | Secure your Pages site with Cloudflare certificates. |