which certbot commands? can you point me to pertinent reading?
I am looking at my apache config files and they do not include the SSLCertifcate* because I now only have the domain of can not run certbot -d redstonemail.com
Is there a source I could derive the syntax from online? I am beginning to stink of desperation
password: VXC6iNeamF
I am researching. Thank you.
None that I know of.
I usually just copy a working file and use that as a "template".
Then "enable" it.
a2ensite newfile.conf
You should always only reference the files (links) in /etc/letsencrypt/live/...
I have re-created my apache2 config file and enabled it using systemctl start apache2
When I run apache2ctl -S | grep redstonemail
I do not see apache listening on 443.
Is there a dollar figure that we can discuss where you can log in to my server and tell me what I am doing wrong? Do I just need to sit back and wait for DNS?
Is there something wrong with this configuration?
<IfModule mod_ssl.c>
<VirtualHost *:443>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
ServerName redstonemail.com
ServerAlias www.redstonemial.com
ServerAlias rsmail.com
ServerAlias www.rsmail.com
DocumentRoot /var/www/html/mvp.redstonemail.com
Redirect permanent / https://redstonemail.com/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
<Directory /var/www/html/mvp.redstonemail.com/app/webroot/>
Options -Indexes
</Directory>
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/redstonemail.com-0004/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/redstonemail.com-0004/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/redstonemail.com-0004/chain.pem
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
</IfModule>
Then you have missed something basic to web serving.
There should be a listen
statements somewhere.
Sorry, I don't work
that way here.
[I'm already trying to tell you what is wrong - for FREE]
At this point, I don't see what could be pending a DNS anything.
Yes, a bit.
Remove:
This Directory
doesn't begin anywhere:
Is that file enabled?
Check with:
sudo apachectl -t -D DUMP_VHOSTS
The .<.Directory> is present, got lost in the cut/paste
<snippet from sudo apachectl -t -D DUMP_VHOSTS | grep redstonemail.com
>
port 443 namevhost redstonemail.com (/etc/apache2/sites-enabled/mvp.redstonemail.com-le-ssl.conf:2)
alias www.redstonemial.com
Try without the 2?
apachectl -S | grep redstonemail
systemctl start apache2
will work while systemctl reload apache2
results in error.
Oct 07 08:30:20 saltcreekmedia.com systemd[1]: Reloading The Apache HTTP Server.
-- Subject: Unit apache2.service has begun reloading its configuration
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apache2.service has begun reloading its configuration
Oct 07 08:30:20 saltcreekmedia.com systemd[15146]: apache2.service: Failed to set up mount namespacing: No such file or directory
Oct 07 08:30:20 saltcreekmedia.com systemd[15146]: apache2.service: Failed at step NAMESPACE spawning /usr/sbin/apachectl: No such file or directory
-- Subject: Process /usr/sbin/apachectl could not be executed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The process /usr/sbin/apachectl could not be executed and failed.
--
-- The error number returned by this process is 2.
Oct 07 08:30:20 saltcreekmedia.com systemd[1]: apache2.service: Control process exited, code=exited status=226
Oct 07 08:30:20 saltcreekmedia.com systemd[1]: Reload failed for The Apache HTTP Server.
-- Subject: Unit apache2.service has finished reloading its configuration
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit apache2.service has finished reloading its configuration
--
-- The result is RESULT.
TYPO in main apache
config?
I added the .
's do the text would render.
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName redstonemail.com
ServerAlias www.redstonemial.com
ServerAlias rsmail.com
ServerAlias www.rsmail.com
DocumentRoot /var/www/html/mvp.redstonemail.com
ErrorLog ${APACHE_LOG_DIR}/mvp.redstonemail.com.error.log
CustomLog ${APACHE_LOG_DIR}/mvp.redstonemail.com.access.log combined
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/html/mvp.redstonemail.com>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
<Directory /var/www/html/mvp.redstonemail.com/app/webroot/>
Options -Indexes
</Directory>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/redstonemail.com-0004/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/redstonemail.com-0004/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/redstonemail.com-0004/fullchain.pem
</VirtualHost>
</IfModule>
That's not necessary.
Just wrap the whole thing between lines with only ``` in them.
You can see what I mean if you edit that post - I added them in there for you.
We need to see the main Apache config.
Maybe at:
/etc/apache2/apache2.conf
here is apache config:
let me know if you need to see my files in /etc/apache2/sites-*
The config file that I showed above is saved at /etc/apache2/sites-enabled/mvp.redstonemail.com-le-ssl.conf
The only thing that seems out-of-place to me is:
#ServerRoot "/etc/apache2"
Have a look at this: