I am having an issue with my SSL certificate. I have my sites set up as Virtual Hosts. I am trying to add this to ucps.us. Here is the error I get:
Requesting root privileges to run certbot…
/home/connor/.local/share/letsencrypt/bin/letsencrypt --apache -d ucps.us
/home/connor/.local/share/letsencrypt/lib/python2.6/site-packages/cryptography/init.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for ucps.us
No vhost exists with servername or alias of: ucps.us (or it’s in a file with multiple vhosts, which Certbot can’t parse yet). No vhost was selected. Please specify ServerName or ServerAlias in the Apache config, or split vhosts into separate files.
Falling back to default vhost *:443…
Cleaning up challenges
- Could not be found to be deleted /etc/httpd/conf.d/le_tls_sni_01_cert_challenge.conf - LE probably shut down unexpectedly
An unexpected error occurred:
IOError: [Errno 2] No such file or directory: '/etc/httpd/conf.d/le_tls_sni_01_cert_challenge.conf’
Please see the logfiles in /var/log/letsencrypt for more details.