I have query regarding setup of https to java application.. I have create load balancer for elastic beanstalk and give permission to security group handle traffic to https enter image description here
But when I write domain with https://www.example.com .it works with https,but when I type domain name webpage open but without https. My question here is should i write .htacces code or something else in java web application to achieve automatically come https green lock when I enter domain name only? please help I got stuck here. I am very new to aws.