Security News > 2023 > January > How to force Portainer to use HTTPS and upload your SSL certificates for heightened security

How to force Portainer to use HTTPS and upload your SSL certificates for heightened security
2023-01-25 23:34

Portainer smooths out the rather steep learning curve of Kubernetes, making it considerably easier for your teams to manage namespaces, networks, pods, ingresses, Helm, ConfigMaps & Secrets, Volumes and even the cluster.

My go-to method of deploying Portainer is via a Microk8s cluster, which is the easiest method of getting Kubernetes support rolled into the web-based GUI; however, when deployed in this fashion, Portainer can be accessed either via HTTP or HTTPS and doesn't use SSL certificates.

After you force HTTPS, Portainer does not auto-redirect connections from HTTP to HTTPS, so you'll need to inform anyone who accesses Portainer of the new address.

What you need to force Portainer to use HTTPS and SSL. You need a running instance of Portainer, an SSL certificate and a user with admin privileges.

Figure B. After enabling forced HTTPS, click Apply Chances; once it's saved, you'll be kicked out of Portainer.

You probably should not employ websites or services that don't use HTTPS and SSL. With Portainer, adding these features is so easy that anyone can take care of the task.


News URL

https://www.techrepublic.com/article/how-to-force-portainer-https-upload-ssl-certificates/

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Portainer 1 3 7 3 2 15