When I first ran certbot it asked me to specify the domain name I was trying to secure since it couldn’t find any names in the conf file. I did so but I only put in one domain name, lets call it www.mydomainname.com. Now I want to add more domain names to be secured including mydomainname.com (the original but without the www) but I can’t find the configuration file. The documentation says I should run the command “certbot-auto --config cli.ini” in order to modify the configuration file but when I try to run this command it shows that its not a valid one. I also tried certbot-auto -c cli.ini but that didn’t work either. I searched the files in /etc/letsencrypt but couldn’t find a config file there either (granted some of the folders in there denied me access permission and I don’t want to run chown and mess up something with certbot).
Could you please tell me how or where I can add more domain names? Also I assume once I add a domain name all subdirectories in that domain will also be secur, is that correct (as in securing www.mydomain.com also secures www.mydomain.com/subdir) ? Finally, the redirection from http://www.mydomainname.com to https doesn’t seem to work, could this be a problem in my apache server?
Thanks and hope I don’t sound too stupid