Subdomain is on different EC2 instance, SSL is giving “Your connection is not private” error
I have example.com, test.example.com and example.org.
example.com and example.org are hosted on 2 different EC2 instances. I want example.org content to be shown at test.example.com.
This is what I have done -
- Installed letsencrypt ssl certificate for data.example.com (earlier only example.com and example.org had SSL vie LE).
- Added A record of example.org IP in the DNS of example.com so test.example.com now points to example.org IP.
Now when I open https://test.example.com, it is showing "your connection is not private" error. What am I doing wrong?