What's in this file?
/etc/apache2/sites-available/jmcs.conf
Also...
Don't mind us bantering. We're both regulars around here.
What's in this file?
/etc/apache2/sites-available/jmcs.conf
Also...
Don't mind us bantering. We're both regulars around here.
Ok so you have been able to get a cert!
But you must have used certonly
though
Please show:
cat /etc/letsencrypt/renewal/jackiesmcs.com.conf
Yes!
The name of the sever is truly irrelevant.
It can (and should be) something like: "Server19-Rack42"
It should NEVER be used by the web service.
And STILL learning! - LOL
I was thinking of the vHost ServerName. Guess that message just means the global ServerName.
Always, my friend.
@griffin
/etc/apache2/sites-available/jmcs.conf
contains:
<VirtualHost *:80>
ServerName jackiesmcs.com
ServerAlias jackiesmcs.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/jmcs
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/jmcs/>
AllowOverride All
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =jackiesmcs.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
@rg305
cat /etc/letsencrypt/renewal/jackiesmcs.com/conf
outputs:
# renew_before_expiry = 30 days
version = 1.11.0
archive_dir = /etc/letsencrypt/archive/jackiesmcs.com
cert = /etc/letsencrypt/live/jackiesmcs.com/cert.pem
privkey = /etc/letsencrypt/live/jackiesmcs.com/privkey.pem
chain = /etc/letsencrypt/live/jackiesmcs.com/chain.pem
fullchain = /etc/letsencrypt/live/jackiesmcs.com/fullchain.pem
# Options used in the renewal process
[renewalparams]
account = bd0cd1f0ec15f52f8521fd236a263e6d
authenticator = apache
installer = apache
manual_public_ip_logging_ok = None
server = https://acme-v02.api.letsencrypt.org/directory
hmm...
Well then something has gone awry!
Make that www.jackiesmcs.com
Get rid of this:
My name is: JOE
My alias is: JOE
Not much of an alias!
Corrected to www.jackiesmcs.com and restarted apache2.service.
Thanks for all the help by the way
Make sure when you're reloading to use:
apachectl -k graceful
We need to force an install - so that a matching TLS enabled site is created.
Or we could do it by hand - but why?
Was using systemctl restart apache2.service
That should work as well.
[many ways to skin cats!]
I had www. in their at some point, but removed it. Not 100% sure why just never went back
Removed this as well and restarted service.
How about we delete the current (one named) cert.
And start over
Go for the two named cert and a real installation
? ? ?
Considering that you don't have an A or CNAME record in your DNS for www.jackiesmcs.com
, it's rather a moot point.
I do have an A record in DNS at domains.google.com