how to disable to certbot generator at login ?

#1
I uninstalled certbot because I use Cloudflare with the Origin Certificates as SSL.
but the certbot script try to generate an SSL at every login
how/where is this script I can't find it anywhere ?
 

Cold-Egg

Administrator
#2
I am not sure, there's a cronjob /etc/cron.d/certbot, but I don't think it will be triggered with your login, and you even removed the certbot service.
 
#3
At any login (any user, and even when I sudo to root or from root) a script is launched with this message:

To visit your apps by domain instead of IP, please enter a valid domain.
If you don't have one yet, you may cancel this process by pressing CTRL+C and continuing to SSH.
This prompt will open again the next time you log in, and will continue to do so until you finish the setup.
Make sure the domain's DNS record has been properly pointed to this server.
Enter the root domain only, then the system will add both the root domain and the www domain for you.
Your domain:
...

I found it; it is at the end of /etc/profile
Bash:
sudo /opt/domainsetup.sh
 

Cold-Egg

Administrator
#4
Oh yes, this is by design, if you don't need it, just complete the script and it will go away. You can also set no to the cert apply question.
 
Top