I had successfully setup DNS based URL forwarding in Amazon Route5 using this ref: Set up DNS based URL forwarding in Amazon Route53
S3 Bucket Settings
- Bucket name: dashboard-mysite-com
- Bucket endpoint: dashboard-mysite-com.s3-website-eu-west-1.amazonaws.com
Bucket static hosting redirection rules:
<RoutingRules>
<RoutingRule>
<Redirect>
<Protocol>https</Protocol>
<HostName>dash.mysite.com</HostName>
<HttpRedirectCode>301</HttpRedirectCode>
</Redirect>
</RoutingRule>
</RoutingRules>
CloudFront Distribution Settings
- Domain Name: asdfasdfasdf.cloudfront.net
- Origin: dashboard-mysite-com.s3-website-eu-west-1.amazonaws.com
- CName: dash.mysite.com, dashboard.mysite.com
Route53 Record Sets
- dash.mysite.com. CNAME mysite-dash.heroku.com
- dashboard.mysite.com. A ALIAS asdfasdfasdf.cloudfront.net
So, https://dashboard.mysite.com was successfully being forwarded to https://dash.mysite.com. Until my SSL certificate installed on https://dash.mysite.com expired yesterday.
Now https://dashboard.mysite.com is ending up with error: NET::ERR_CERT_DATE_INVALID. (that says my SSL certificate is expired)
What do I need to fix the SSL certificate error on https://dashboard.mysite.com ?