when user doesn't have root sudo, install should print the commands to run with root privileges
dcaillibaud opened this issue · 3 comments
dcaillibaud commented
Root privilege with sudo is common on ubuntu but it's not the only linux distribution !
"Normal" users without sudo are common, with admin task done with a lot of others way (root ssh access, root password, other admin user…).
In that case, a mkcert -install fails (it loops on asking the sudo password that doesn't exists), it should ask if user wants to try another sudo pass or give the root password or print the commands that needs to be run by root.
iamprogrammerlk commented
I think you can install CA manually by using Firefox.
Go to Settings on Firefox then Search Certificate, click on the View Certificate button then Import.
You can find the rootCA.pem installed location by running mkcert --CAROOT.