Skip to content
Securely manage Docker, Swarm, Kubernetes and Podman clusters in the cloud, on-premise, and in the data center.
Secure app deployment and device management for your Industrial IoT, IoT and Edge devices.
Let Portainer's Managed Platform Services accelerate your containerization journey.
A fully integrated, multi-cluster Kubernetes platform that’s scalable, secure and supported.
Deployment scenarios
Partner Solutions (Hybrid Cloud)
Onboard, manage and deploy workloads across hundreds of devices securely with Portainer.
Deployment scenarios
Partner Solutions (Edge/IIoT)
blog-banner
Adolfo DelorenzoNovember 25, 20211 min read

How to secure your Portainer installation

Creating the first administrator user

  1. The first thing you need to do when accessing Portainer for the first time is set up your primary admin user.


  2. It's good practice not to use the default admin as a username - you can set it to anything you like.
  3. Make sure to use a secure password that has a combination of letters, numbers and characters.

Enabling HTTPS access to Portainer

  1. Under Settings scroll down until you are on the SSL Certificate section:



  2. Enable the Force HTTPS only option and click on Apply changes:



  3. Portainer now will only be available on port 9443 with https.

    Let's say for example the ip address of your Portainer instace is 192.168.10.50, you will now have access via the following address: https://192.168.10.50:9443
  4. You can upload your own certificates if you so prefer via the Settings->SSL Certificate section.

Access Portainer via a VPN using Wireguard

If you want to avid exposing your Portainer instance on the Internet, we suggest you check our blog post that shows how to use an end-to-end connection with Wireguard here: https://www.portainer.io/blog/how-to-run-portainer-behind-a-wireguard-vpn

COMMENTS

Adolfo DelorenzoSeptember 29, 20213 min read

How-To run Portainer behind a Wireguard VPN

How-To run Portainer behind a Wireguard VPN
Start Reading
Neil Cresswell, CEOMarch 1, 20223 min read

How to correctly secure Portainer when presented on the Internet

So, you have Portainer running; you got it up pretty quickly using our standard deployment scripts, and that's neat..
Start Reading
Neil Cresswell, CEOMay 4, 20224 min read

12 Step Guide to Get Portainer Running in a Production Environment

This guide provides a checklist to help you get up and running with, and comfortable using Portainer’s Business Edition (BE). ...
Start Reading