Set Up SSL
Configure HTTPS for your rtSurvey server. Required before you can log in.
SSL must be configured before you can log in. When you open the app for the first time, you will be redirected to the SSL setup screen automatically.
SSL setup options
Choose one of three options:
| Option | When to use |
|---|---|
| Free rtsurvey.com subdomain (Recommended) | No DNS setup needed. We create the record for you. Ready in 2–5 minutes. |
| My own domain | You already have a domain and its DNS points to this server. |
| Install certificate manually | Enterprise or custom CA. Requires SSH access. |
Option 1 — Free rtsurvey.com subdomain (Recommended)
This is the fastest option. No domain registration or DNS changes required.
Click Free rtsurvey.com subdomain to expand the section
Type your desired subdomain name in the input field
Use lowercase letters, numbers, and hyphens. 3–30 characters. Example:
myproject→myproject.rtsurvey.comClick Create https://[subdomain].rtsurvey.com
- Wait 2–5 minutes while the certificate is issued
- Once the certificate is ready, you will be redirected to your new HTTPS URL automatically
Option 2 — My own domain
Use this if you have an existing domain and its DNS A record already points to this server’s IP.
- Click My own domain to expand the section
- Enter your full domain name (e.g.
survey.myorganization.org) - Click Create certificate
Let’s Encrypt will verify your domain and issue a certificate. This requires DNS to be correctly pointed first — the request will fail otherwise.
Option 3 — Install certificate manually
For enterprise environments using a custom or internal CA. You will place your certificate files on the server via SSH, then enter your domain in the app.
Prerequisites
- SSH access to the server
- A valid certificate and private key for your domain (PEM format)
Step 1 — SSH into the server
ssh root@<server-ip>
Step 2 — Place your certificate files
Create the directory and copy your files:
mkdir -p /etc/letsencrypt/live/<your-domain>
Copy your files into that directory with these exact names:
| File | Description |
|---|---|
fullchain.pem | Your certificate + any intermediate CA certificates (concatenated) |
privkey.pem | Your private key |
Example:
# Copy from your local machine (run this locally, not on the server)
scp fullchain.pem root@<server-ip>:/etc/letsencrypt/live/<your-domain>/fullchain.pem
scp privkey.pem root@<server-ip>:/etc/letsencrypt/live/<your-domain>/privkey.pem
Set correct permissions:
chmod 644 /etc/letsencrypt/live/<your-domain>/fullchain.pem
chmod 600 /etc/letsencrypt/live/<your-domain>/privkey.pem
Step 3 — Enter your domain in the app
- In the SSL setup screen, click Install certificate manually
- Enter your domain name (must match the certificate’s Common Name or SAN)
- Click Apply
The server will configure Nginx with your certificate and reload automatically.
Next step
Once SSL is active, proceed to First Login.