I don't think you need to edit conf/security.xml.
You should simply access your app with url https://host:8443/yourapp/.
To be redirected, you should set redirectPort="8443" in HTTP Connector.
Initially I haven't updated security.xml and some fourm suggested to do same (it may be required for older version application server, But I am not sure) Now I found the mistake with help of your post. I was accessing wrong port number. I was accessing 8080 instead of 8443. Now it is working fine.
Thanks for your response.