Can't Install SSL on GoDaddy Virtual Host


#1

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
DeprecationWarning
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
File:

  • 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.
    connor@ip-192-169-249-183 [/usr/local/sbin]#

#2

What is your ServerName directive set to in your Apache config?


#3

use the dns or HTTP challenge

review challenge types in the ACME spec: https://tools.ietf.org/html/draft-ietf-acme-acme-05

review how to specify what challenge to use: https://certbot.eff.org/docs/using.html

specifically:

–preferred-challenges PREF_CHALLS
A sorted, comma delimited list of the preferred
challenge to use during authorization with the most
preferred challenge listed first (Eg, “dns” or “tls-
sni-01,http,dns”). Not all plugins support all
challenges. See
https://certbot.eff.org/docs/using.html#plugins for
details. ACME Challenges are versioned, but if you
pick “http” rather than “http-01”, Certbot will select
the latest version automatically. (default: [])


#4

ahaw021, thank you for the help, but that is way over my level of experience.

jandrusk, I have a lot of different ServerName settings in my file. The ServerName for this Virtual Host is ucps.us If I understand correctly, there could be an issue with the virtual hosts. I found this tutorial (http://webmasters.stackexchange.com/questions/90690/possible-to-split-virtual-host-definitions-into-multiple-apache-conf-files) but I’m not sure if I should do this. I am using WHM and there is an Include Editor in the Apache Configuration setting which I think is what I want but there are 3 options: Pre Main Include, Pre Virtual Host Include, and Post ViIrtual Host Include).


#5

Any ideas would be appreciated


#6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.