Open yuukiAme opened 7 months ago
I checked the closed issue and found this comment. Not sure whether to discuss it in that thread or my thread.
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.