Please fill out the fields below so we can help you better.
I’ll try to do so as best as I can.
My domain is: mind-fields.com
I ran this command:
./certbot-auto --standalone --email *hidden*@gmail.com --apache -d mind-fields.com -d www.mind-fields.com -d dev.mind-fields.com
Which returns:
Requesting root privileges to run certbot…
/home/hidden/.local/share/letsencrypt/bin/letsencrypt --standalone --email hidden@gmail.com --apache -d mind-fields.com -d www.mind-fields.com -d dev.mind-fields.com
sudo: effective uid is not 0, is sudo installed setuid root?
so no sudo and I tried to go the letsencrypt-nosudo route… and the problem is at the domain.csr creation.
I ran this:
openssl req -new -sha256 -key domain.key -subj "/" -reqexts SAN -config <(cat /etc/ssl/openssl.cnf <(printf "[SAN]\nsubjectAltName=DNS:mind-fields.com,DNS:www.mind-fields.com,DNS:dev.mind-fields.com")) > domain.csr
I get this error:
cat: /etc/ssl/openssl.cnf: No such file or directory
unable to find ‘distinguished_name’ in config
problems making Certificate Request
139980369688392:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:335:group=req name=distinguished_name
So I’m not quite sure what to do next as I wasn’t able to find this file in my /etc/ssl/
I tried to create an empty openssl.cnf in there … obviously to no avail. (act of desperation after countless readings and more confusion than clarity.)
though running the command (python sign_csr.py --public-key user.pub domain.csr > signed.crt
) for just “domain.com” works and does create a .csr… How to identify the actual folder/file location is my issue
I’ve also ran into some trouble revoking the .csr but I guess we can get to that later.
I’m relatively new to the SSL DIY world though I’m capable of figuring things out on my own, looking for answer and can pick up fast.
My web server is (include version):
Server version: Apache/2.2.31 (Unix)
Server built: Oct 10 2016 16:29:23
Cpanel::Easy::Apache v3.34.6 rev9999
The operating system my web server runs on is (include version):
uname -or yields: 3.10.0-614.10.2.lve1.4.50.el6h.x86_64 GNU/Linux
My hosting provider, if applicable, is:
Arvixe
I can login to a root shell on my machine (yes or no, or I don’t know):
yes, though I seem to get disconnected randomly and the client I use is Putty
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Cpanel
Thanks!
Do let me know if there’s anything else I can provide to clarify the matter