Have you already registered a domain name for your app? This will be required to use HTTPS.
When setting HTTPS on AWS I would recommend using Route 53 for your DNS, use AWS Certificate Manager to create your SSL Certificate, and use an ALB (Application Lod Balancer) in front of your EC2 instance. The ALB will offload the HTTPS from your EC2 instance and use the Certificated created in Certificate manager.
All these being AWS products they work together nicely and very easy to setup, AWS have a number of tutorials for this common setup
I have hosted my app on aws and Can access my app from below url https://apploud.io/atlassian-connect.json
But still I am not able to install my App in JIRA getting error