title: How to enable HTTPS in AWS EC2 instance?
body: <p>I have launched Ubuntu Server 16.04 LTS (HVM) instance on AWS and running a Nodejs based app server. </p>
  
  <p>The appserver runs fine on HTTP and I am able to get the JSON test response.</p>
  
  <p>Now I need to enable HTTPS on EC2 as I need to connect this URL to Facebook Webhooks. </p>
  
  <p>How to enable self-signed / free SSL on EC2 instance, so that I can provide a secured callback URL in FB webhooks? </p>
  
  <p><strong>NOTE1:</strong> I have open HTTPS port (443) on the EC2 instance by going to <a href="https://console.aws.amazon.com/ec2/" rel="nofollow noreferrer">https://console.aws.amazon.com/ec2/</a> and clicking on the Security Groups link on the left, then created a new security group with also HTTPS available.</p>
  
  <p><strong>NOTE2:</strong> I am able to connect to FB Webhooks if I run the same app server on my local VM, using ngrok</p>
  
  <p>Thanks in advance.</p>