Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com ), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: alfalinkph.com
I ran this command:certbot certificates
It produced this output:
Found the following certs:
Certificate Name: www.alfalinkph.com
Domains: www.alfalinkph.com
Expiry Date: 2020-02-14 08:06:42+00:00 (VALID: 87 days)
Certificate Path: /etc/letsencrypt/live/www.alfalinkph.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/www.alfalinkph.com/privkey.pem
Certificate Name: alfalinkph.com
Domains: alfalinkph.com
Expiry Date: 2020-02-14 08:19:22+00:00 (VALID: 87 days)
Certificate Path: /etc/letsencrypt/live/alfalinkph.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/alfalinkph.com/privkey.pem
My web server is (include version) : Apache2
The operating system my web server runs on is (include version)::Ubunto 16.04 LTS
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):certbot 0.23.0
Hi @alfalinkdev
checking your certificates you have certificates with one domain name - https://check-your-website.server-daten.de/?q=alfalinkph.com#ct-logs
Issuer
not before
not after
Domain names
LE-Duplicate
next LE
Let's Encrypt Authority X3
2019-11-16
2020-02-14
alfalinkph.com - 1 entries
duplicate nr. 1
Let's Encrypt Authority X3
2019-11-16
2020-02-14
www.alfalinkph.com - 1 entries
duplicate nr. 3
Let's Encrypt Authority X3
2019-11-15
2020-02-13
www.alfalinkph.com - 1 entries
duplicate nr. 2
Let's Encrypt Authority X3
2019-11-15
2020-02-13
www.alfalinkph.com - 1 entries
duplicate nr. 1
Let's Encrypt Authority X3
2019-10-05
2020-01-03
inv.alfalinkph.com - 1 entries
That's possible to use such a configuration. But then you need two different vHosts, makes things more complicated.
Looks like you have one vHost, so your www version uses the wrong certificate.
So first step: What says
apachectl -S
Thanks here it is…
[Mon Nov 18 16:40:50.169012 2019] [so:warn] [pid 2533] AH01574: module php7_module is already loaded, skipping
VirtualHost configuration:
127.0.0.1:80 afl-webserver (/etc/apache2/sites-enabled/000-default.conf:1)
*:443 is a NameVirtualHost
default server afl-webserver (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
port 443 namevhost afl-webserver (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
alias www.alfalinkph.com
alias alfalinkph.com
port 443 namevhost afl-webserver.LYRGC.local (/etc/apache2/sites-enabled/default-ssl.conf:2)
ServerRoot: “/etc/apache2”
Main DocumentRoot: “/var/www/html”
Main ErrorLog: “/var/log/apache2/error.log”
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
PidFile: “/var/run/apache2/apache2.pid”
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=“www-data” id=33
Group: name=“www-data” id=33
Thanks for the fast response sir … I’m just starting to learn more about this …
Your port 443 vHost
looks good.
But why isn't there a port 80 vHost with the same combination of domain names?
Create one.
Your main config file has a minimal template.
Then restart, then again apachectl -S
.
system
Closed
December 18, 2019, 9:20am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.