Rasa running on AWS and getting invalid HTTP method while trying to connect to Facebook

Hello, I have set up an EC2 instance on AWS, installed anaconda and then installed RASA into the Instance. I have configured the group security as bellow to AWS.

Custom TCP Rule TCP 5005 0.0.0.0/0 Custom TCP Rule TCP 5005 ::/0 HTTPS TCP 443 0.0.0.0/0 HTTPS TCP 443 ::/0

When I run http://ec2-54-2xx-xxx-xxx.us-west-1.compute.amazonaws.com:5005 it works.

Now, I want to connect the facebook webhook here. But, https://ec2-54-2xx-xxx-xxx.us-west-1.compute.amazonaws.com:5005 It does not work.

So far, I have installed apache2 and have all the certificates. all the ports are open. Please let me know what can i do? trying this for several hours.

Here is the error: http

Here is apache2 port list: apache2

here I have redirected the everything to the 5005 port on EC2

Now, here I have edited the ssl config: https%20config

I have done everything that I can think of. I think the https is working properly, but somehow rasa can handle the https requests.

Please let me know what can I do.