Self-signed certificate, resulting in security warnings in the browser #3299
Replies: 1 comment 7 replies
-
The instructions may generate a self signed certificate but everyone has their own way of proxying to the Postal processes that it mostly ends up down to everyone to set up real certificates to their own tastes. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When running Postal using its built-in Rails webserver, the main (primary) domain is served with a self-signed TLS certificate. In contrast, any additional domains configured for click and open tracking automatically receive valid Let's Encrypt certificates. This inconsistency causes browser warnings when users access tracking links from the primary domain.
To Reproduce
Set up Postal:
Configure Postal with a primary DNS domain for tracking.
Add Additional Domains:
Add one or more extra domains that point (via DNS CNAME or A records) to the primary domain. These additional domains will have TLS certificates automatically generated by Let's Encrypt.
Access the Tracking URL:
Open a tracking URL served by the primary domain.
Observe the Certificate:
Notice that while additional domains use valid Let's Encrypt certificates, the primary domain for tracking displays a self-signed certificate, resulting in security warnings in the browser.
dns:
mx_records:
- mx1.postal.example.com
- mx2.postal.example.com
spf_include: spf.postal.example.com
return_path_domain: rp.postal.example.com
route_domain: routes.postal.example.com
track_domain: track.postal.example.com (This displays a self-signed certificate, resulting in security warnings in the browser)
Expected behaviour
The primary domain should be served with a valid TLS certificate (e.g., generated via Let's Encrypt), just like the additional domains. This would eliminate certificate warnings and ensure consistent secure connections across all domains or simply make it inaccessible externally.
Beta Was this translation helpful? Give feedback.
All reactions