TLS Security and Configuration
Setting up GitLab Pages with Cloudflare Certificates

Setting up GitLab Pages with Cloudflare Certificates

2/7/2017 · Marcia Ramos

What this post added

This post details the technical steps required to configure GitLab Pages with custom domains using Cloudflare SSL/TLS certificates. It outlines the process of setting up DNS records (CNAME or A) to point to GitLab Pages, generating a certificate and private key via Cloudflare's Crypto tab, and then adding these to the GitLab Pages project settings. The key technical contribution is the 'trick' of concatenating the Cloudflare Origin CA certificate below the user's generated PEM certificate in GitLab's settings to ensure proper validation when Cloudflare's SSL is set to 'Full' or 'Full (strict)'.

Read the original post ↗