Secure Database Lab Engine
To make your work with Database Lab Engine API or CLI secure, install and configure NGINX with a self-signed SSL certicate.
Define ${IP_OR_HOSTNAME}
for your instance, using either its hostname or the IP address:
Install NGINX:
Define ${YOUR_OWN_PASS}
environment variable for certificate generation.
Generate an SSL certificate request:
Finish the SSL certificate generation and configure NGINX (do not forget to set $IP_OR_HOSTNAME
as described above!). Website https://nginxconfig.io/ can also be helpful when you prepare an NGINX config file. Here is a basic example:
Now we can check the status using HTTPS connection (here we use --insecure
flag
to allow working with the self-signed certificate we have generated above):