/
Https for cerebra

Https for cerebra

To use HTTPS, you will need an SSL certificate. There are several ways to obtain one. You can purchase a certificate from a Certificate Authority such as Verisign or Comodo. Alternatively, you can obtain a free certificate from Let's Encrypt. Another option is to generate a self-signed certificate using OpenSSL.

Once you have obtained the certificate, you need to adjust the Nginx server configuration. Here's an example:

server { listen 8000 ssl; listen [::]:8000 ssl; root /etc/nginx/html/cerebra/; index index.html index.htm; ssl_certificate /etc/ssl/certs/cerebra.crt; ssl_certificate_key /etc/ssl/private/cerebra.key; location / { try_files $uri $uri/ /index.html; }

}

However, using a self-signed certificate can result a warning from the browser.


If you want to avoid the warning, you need to make the browser trust the certificate. Please note that this approach is not user-friendly and requires additional configurations.

If you prefer to obtain a certificate from Let's Encrypt, your server must be connected to the internet. Let's Encrypt validates your control over the domain by checking if you can make changes to it, typically by placing a file at a specific URL or creating a specific DNS record. If your server is not accessible from the internet, you cannot complete the validation process, and you cannot use Let's Encrypt to issue a certificate.

Related content

Face detection
Face detection
Read with this
Setup & deploy scripts for Cerebra
Setup & deploy scripts for Cerebra
More like this
Setting up pibs software with Docker
Setting up pibs software with Docker
More like this
Motor pinout mapping
Motor pinout mapping
More like this
Development Environment Setup
Development Environment Setup
More like this
Create custom blocks
Create custom blocks
More like this