6. Save the file and exit the editor
7. Create a file for the certificate: `nano /etc/ssl/certificate.crt`
8. Copy and paste the content of the `certificate.crt` file in your local files
9. Copy and paste the content of the `ca_bundle.crt` file in your local files right next to the `certificate.crt` (yes, merging two files in certificate.crt)
10. Save the file and exit the editor
11. Create a file for the private key: `nano /etc/ssl/private.key`
12. Copy and paste the content of the `private.key` file in your local files
13. Save the file and exit the editor
14. Finally, reload Nginx: ``nginx -s reload`
> Make sure that the bluexolo.net domain is pointing to the public IP of Nginx service.
The certificates and key files need to be downloaded manually, usually in a zip folder with:
Once you have these files you need to follow this guide to add the certificate and enable https manually:
kubectl exec -it -n bluexolo <pod_id> -- ash
apk add nano
rm /etc/nginx/conf.d/default.conf
nano /etc/nginx/conf.d/default.conf
server { listen 443 ssl; server_name bluexolo.net www.bluexolo.net; ssl_certificate /etc/ssl/certificate.crt; ssl_certificate_key /etc/ssl/private.key;
}