You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I use Portainer with Docker and Docker-compose in DietPi.
I noticed that Portainer script install only use HTTP on 9002.
Which is why the browser threw an error when I uploaded a self-signed certificate and a private key.
Portainer became inaccesible after that.
So I had to reinstall with dietpi-software reinstall 185 but this will result in the same HTTP.
I already knew that so I tried the following commands with the help of Portainer Docs.
# list running containers
docker ps
# stop the running portainer container
docker stop portainer
# remove the running portainer container
docker rm portainer --force
# recreate the portainer container with ssl enabled
docker run -d -p 8000:8000 -p 9000:9000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v ~/docker/portainer:/data portainer/portainer-ce
After that recreation command, I will have to setup Portainer fresh on HTTPS port 9443 again with new account and password.
My question is:
Why didn't DietPi easy script open HTTPS port like the Portainer docs?
Because if I run another dietpi-software reinstall 185 now, Portainer will go back to HTTP on port 9002 only. No HTTPS.
The text was updated successfully, but these errors were encountered:
When we enable HTTPS OOTB, we should also add a (self-signed) certificate OOTB. Can this be easily imported into the Portainer container/volume via command prompt/script?
Hi,
I use Portainer with Docker and Docker-compose in DietPi.
I noticed that Portainer script install only use HTTP on 9002.
Which is why the browser threw an error when I uploaded a self-signed certificate and a private key.
Portainer became inaccesible after that.
So I had to reinstall with
dietpi-software reinstall 185
but this will result in the same HTTP.I already knew that so I tried the following commands with the help of Portainer Docs.
After that recreation command, I will have to setup Portainer fresh on HTTPS port 9443 again with new account and password.
My question is:
Why didn't DietPi easy script open HTTPS port like the Portainer docs?
Because if I run another
dietpi-software reinstall 185
now, Portainer will go back to HTTP on port 9002 only. No HTTPS.The text was updated successfully, but these errors were encountered: