Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SendGrid Link Branding gives ssl issue

Tags:

email

sendgrid

Unfortunately, nobody is responding to my support ticket so I think it's a problem needs someone with experience with sendgrid

the reproduction is simple:

  1. did the Domain Authentication and Link Branding

  2. Added all the necessary record to my DNS configs

  3. All verified in SendGrid dashboard.

  4. Tried sending an email and click on the link it gives me this

enter image description here

like image 445
Yahia Bat Avatar asked Apr 12 '20 09:04

Yahia Bat


People also ask

Does SendGrid use SSL?

Setup SSL for Click TrackingTwilio SendGrid supports Secure Sockets Layer (SSL) enabled click and open tracking. To enable SSL click and open tracking for an authenticated domain with branded links, additional configuration for the SSL keys is required.

What is SendGrid link branding?

What is link branding? Email link branding allows all of the click-tracked links and opens tracked images in your emails to be from your domain instead of from sendgrid.net.

What is SSL click tracking?

A Secured Socket Layer (SSL) encrypts a URL with HTTPS instead of the less secure HTTP. Customers at Braze can set up their links and domains to apply SSL certificates.


2 Answers

I think the issue might be that you that you use https links, but you don't have a "TLS pass-trough" set-up for them. It's really poorly explained on Sendgrid's branded links help page, but you can see a mention of it here. Basically you need something that will resolve TLS on your side and forward the request to sendgrid. It can be a proxy, as suggested on that help page, or i.e. a cloudfront distribution with a custom origin pointing to sendgrid and a certificate covering your branded link domain covered.

like image 191
guessimtoolate Avatar answered Oct 22 '22 01:10

guessimtoolate


If you're using Cloudflare, I had luck following this guide in their documentation in order to get it to work. Sendgrid also recommends Fastly and KeyCDN.

The only drawback is you also have to contact customer support in order to request that SSL click and open tracking be enabled on your account.

like image 3
rojo Avatar answered Oct 22 '22 02:10

rojo