Hi you all guys! I’m starting to work on a web radio, and I’m stuck. Which files or system variables consults the letsencrypt/certbot script? and, where can they be localized? I’m trying to get a valid certificate with no luck.
I own a domain, www.acusmatica.org.mx, for a new project that I’m working on (alpha stage). I’m managing the domain with No-IP, and I’m trying to get a certificate, but something isn’t workin well.
I’m using Ubuntu 12.04 LTS.
These are my files:
#cat /etc/hosts:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 homoacusmatico.acusmatica.org.mx homoacusmatico
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
#cat /etc/hostname:
homoacusmatico
(FQDN:
#hostname -f
homoacusmatico.acusmatica.org.mx
#uname -a
Linux homoacusmatico 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
)
(Next if for VirtualHost *:80)
cat acusmatica-vhost.conf
<VirtualHost *:80>
ServerName acusmatica.org.mx
ServerAlias www.acusmatica.org.mx
ServerAdmin ericko7@yahoo.com
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
DocumentRoot /var/www/
SetEnv APPLICATION_ENV "production"
(Next is for VirtualHost *:443)
cat airtime-vhost.conf
<VirtualHost *:443>
SSLEngine on
SSLProtocol All -SSLv2 -SSLv3
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
Header always set Strict-Transport-Security “max-age=31536000”
ServerName acusmatica.org.mx
ServerAlias www.acusmatica.org.mx
ServerAdmin ericko7@yahoo.com
DocumentRoot /usr/share/airtime/public
DirectoryIndex index.php
<Directory /usr/share/airtime/public>
Options -Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
cat default-le-ssl.conf
ServerAdmin webmaster@localhostDocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
SSLCertificateFile /etc/letsencrypt/live/acusmatica.org.mx/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/acusmatica.org.mx/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
ServerName acusmatica.org.mx
ServerAlias www.acusmatica.org.mx
SSLCertificateChainFile /etc/letsencrypt/live/acusmatica.org.mx/chain.pem
They’re enabled:
ls sites-enabled/ -l
total 0
lrwxrwxrwx 1 root root 40 may 11 21:04 acusmatica-vhost.conf -> …/sites-available/acusmatica-vhost.conf
lrwxrwxrwx 1 root root 37 may 10 20:07 airtime-vhost.conf -> …/sites-available/airtime-vhost.conf
lrwxrwxrwx 1 root root 48 may 10 23:32 default-le-ssl.conf -> /etc/apache2/sites-available/default-le-ssl.conf
I’ve no multiple vhost in my vhost files. Only one per file.
Don’t know what’s wrong
Thanks in advance!