{"id":13127,"date":"2022-06-11T11:00:45","date_gmt":"2022-06-11T08:00:45","guid":{"rendered":"https:\/\/kifarunix.com\/?p=13127"},"modified":"2024-03-09T15:13:26","modified_gmt":"2024-03-09T12:13:26","slug":"setup-portainer-with-ssl-certificates","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/setup-portainer-with-ssl-certificates\/","title":{"rendered":"Setup Portainer with SSL Certificates"},"content":{"rendered":"\n

In this tutorial, you will learn how to setup Portainer with SSL Certificates. By default, Portainer web interface and API is exposed over HTTPS with a self-signed certificate. To ensure a secured access to your Portainer, especially if your are going to be accessing it via the public networks, then it is a good idea to use a commercially signed SSL\/TLS certificates.<\/p>\n\n\n\n

Setup Portainer with SSL Certificates<\/h2>\n\n\n\n

In this guide, we will be working with Portainer deployed as a standalone Docker container. Note that there are other deployments such as Docker swarm\/Kubernetes environments.<\/p>\n\n\n\n

There are two ways in which you can configure Portainer to use SSL certificates;<\/p>\n\n\n\n

    \n
  1. Via the Portainer UI after installation<\/a><\/li>\n\n\n\n
  2. During the Portainer Installation<\/a><\/li>\n<\/ol>\n\n\n\n

    Install SSL Certificates on Portainer via Portainer UI<\/h3>\n\n\n\n

    If you want to configure Portainer with SSL certificates after the installation, login to your Portainer web interface.<\/p>\n\n\n\n