I have a domain, let say:
I also have a domain
which points to my Elastic Beanstalk.
I've written some rule, that redirects certain traffic from example.com to server.example.com (thus my Elastic Beanstalk):
example.com -> server.example.com -> elasticbeanstalk
Now, on my example.com I've got a wildcard SSL (*.example.com, is active on both example.com and server.example.com).
I've also updated that certificate to the Elastic Beanstalk loader.
Now, I am wondering If this set up is secure?