Rasa SSL configuration problem

Hi, I want to add a Self Signed Certificate to my rasa to access as a HTTPS. “Can we do that?”

If yes then please tell me how to add it and how to run along with. Thanks in advance

Are you running community or enterprise edition?

I’ve used nginx for this based on this excellent post. Here’s a fragment from the config I use for this:

server {
  listen 443 ssl;
  server_name test.org;

  access_log /var/log/nginx/test.access.log;
  error_log /var/log/nginx/test.error.log debug;

  ssl_certificate /etc/letsencrypt/live/test.org/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/test.org/privkey.pem;
  include /etc/letsencrypt/options-ssl-nginx.conf;
  ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

  location /webhooks {
    proxy_pass  http://10.1.1.3:5005/webhooks;
  }

  location / {
    proxy_pass http://10.1.1.2:4000;
  }
}

Note that the post @stephens refers to is also accompanied by a Github repository with the final code: GitHub - wmnnd/nginx-certbot: Boilerplate configuration for nginx and certbot with docker-compose. He mentions that in the article comments, but I didn’t notice it at first.

1 Like