Add a Custom SSL Configuration

If you do not want to use Content Delivery Networks (CDNs) when setting up a Secure Sockets Layer (SSL) for click and open tracking, you can set up a custom SSL configuration.

Before adding a custom SSL configuration, you need to set up link branding on your account.

To add a custom SSL configuration:

  1. Prepare a proxy to receive all inbound traffic at your link branded domain and forward it to http://sendgrid.net or https://sendgrid.net.
  2. Configure the proxy to use HTTP or HTTPS.
    • For HTTPS, you must provide your proxy with a valid SSL certificate for your link branded domain.
  3. To forward traffic from an inbound email, you will need to set the Host HTTP header with your link branded domain.
  4. Point the CNAME record at your hosting provider to your proxy. For example, CNAME mailing.example.com proxy.example.com.

Do NOT validate the DNS record more than once. After changing the CNAME a second time, the second validation attempt will fail, and the authentication will stop working.

Contact Twilio SendGrid Support to enable SSL click and open tracking.

Troubleshooting

When adding a custom SSL configuration, you may run into errors. The section below will help you troubleshoot some of the most common issues customers encounter.

Wrong Link Error

If your links are producing the following error, you have likely validated the branded link more than once:

Wrong Link

You have clicked on an invalid link. Please make sure that you have typed the link correctly. If you are copying this link from a mail reader please ensure that you have copied all the lines in the link.

To fix the "Wrong Link" error, you must do the following:

  1. Remove the records from your custom proxy and then reinstall the DNS records. Once this is done, click Verify once. If you click Verify more than once, your branded link will break.
  2. Go to Settings > Tracking and enable click tracking.
Rate this page:

Need some help?

We all do sometimes. Get help now from the Twilio SendGrid Support Team.

Running into a coding hurdle? Lean on the wisdom of the crowd by browsing the SendGrid tag on Stack Overflow or visiting Twilio's Stack Overflow Collective.

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

Refer us and get $10 in 3 simple steps!

Step 1

Get link

Get a free personal referral link here

Step 2

Give $10

Your user signs up and upgrade using link

Step 3

Get $10

1,250 free SMSes
OR 1,000 free voice mins
OR 12,000 chats
OR more