# SSL and RASA Run

**URL:** <https://forum.rasa.com/t/ssl-and-rasa-run/15767>\
**Category:** Getting Started with Rasa\
**Created:** [September 17, 2019, 10:39am UTC](https://forum.rasa.com/t/ssl-and-rasa-run/15767 "2019-09-17T10:39:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FabioV](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabiov/32/4494_2.png) [@FabioV](https://forum.rasa.com/u/FabioV)\
**Post date:** [September 17, 2019, 10:39am UTC](https://forum.rasa.com/t/ssl-and-rasa-run/15767/1 "2019-09-17T10:39:26Z")

</div>

I created my first chatbot and I want to connect it to FB Messenger. FB Messenger required a HTTPS connection to connect with RASA server.

The tutorial write: "_By default the Rasa server is using HTTP for its communication. To secure the communication with SSL, you need to provide a valid certificate and the corresponding private key file. __You can specify these files as part of the rasa run command:__ rasa run --ssl-certificate myssl.crt --ssl-keyfile myssl.key_ "

I tried with self generated certificate and private key - on my server in HTTP (no HTTPS) with openssl -, but weren’t connect to Messenger and also “curl XGET https://…” told me that the certificate is self generated. If I use an HTTPS server - e.g. Google Cloud Platform - what I have to write into the RASA RUN command? Where is the --ssl-certificate and --ssl-keyfile? How to solve the problem?

Thanx

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [September 20, 2019, 1:00am UTC](https://forum.rasa.com/t/ssl-and-rasa-run/15767/2 "2019-09-20T01:00:32Z")

</div>

@FabioV you have to use a certificate generated for the DNS your server is running on, it has to be a proper cert (eg with letsencrypt) and not self generated

---

<div class="post-metadata">

**Author:** ![FabioV](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fabiov/32/4494_2.png) [@FabioV](https://forum.rasa.com/u/FabioV)\
**Post date:** [September 20, 2019, 6:51am UTC](https://forum.rasa.com/t/ssl-and-rasa-run/15767/3 "2019-09-20T06:51:45Z")

</div>

I have to search where the certificate and the private key is saved into server

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [October 2, 2019, 7:26am UTC](https://forum.rasa.com/t/ssl-and-rasa-run/15767/4 "2019-10-02T07:26:19Z")

</div>

Sorry for the late reply - but what do you mean? Have you managed to figure it out?
