Skip to content

Custom Domain & SSL Certificate

Ruslan K edited this page Feb 10, 2024 · 2 revisions

Cloudflare Client Certificate on Custom Domain

  1. Register in Cloudflare and bring your domain to it.

That could be done by changing nameservers (NS) records for your domain from your registrar to Cloudflare NS.

  1. Setup DNS record for your subdomain

Setup CNAME or A record for the subdomain you plan to use for Gauzy Server (e.g. server.gauzy.live), e.g. point server.gauzy.live to your server IP address via A record or point server.gauzy.live to your server hostname (e.g. ever-win.tenant-XXXXX-ever.coreweave.cloud if you host your Gauzy Server in CoreWeave instance) via CNAME DNS record

  1. Generate Cloudflare Client Certificate.

See https://developers.cloudflare.com/ssl/client-certificates/create-a-client-certificate.

Navigate to "SSL/TSL" -> "Client Certificates" and create a client certificate, see the below screenshot.

image

You need to use the RSA (2048) private key type and copy the certificate/key in the PEM format.

Note: do NOT remove -----BEGIN CERTIFICATE-----, -----END CERTIFICATE-----, -----BEGIN PRIVATE KEY-----, -----END PRIVATE KEY----- - those are required to be in the key/certificate values.

When you finish the process, you should see the status "Active" in Cloudflare for the generated Certificate.

image

Use of Certificate in Ever Gauzy Server

TODO