Mismatch SSL certificate

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: void-us.com

I ran this command: I cannot visit my site.

It produced this output:

My web server is (include version): Apache/2.4.6 (CentOS)

The operating system my web server runs on is (include version):
centos-release-7-4.1708.el7.centos.x86_64

My hosting provider, if applicable, is: me

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

https://www.ssllabs.com/ssltest/analyze.html?d=void-us.com&hideResults=on
shows a mismatched (and self-signed) cert for:
www.voidweb.ddns.net

Hmm I dont even have that domain anymore, how would it still be associated with my server?

Do you control IP 76.169.60.18 ?
Check the default vhost file for port 443.

YEs I do control the ip, I will check.

I am using webmin as a backup.

https://gyazo.com/01a54b4dff91869d684e17c965cdfb62
thats what its showing for vhosts

<VirtualHost *:80>

ServerName www.void-us.com
ServerAlias void-us.com
RedirectMatch ^/(.)$ https://www.void-us.com/$1
DocumentRoot /var/www/html/
ErrorLog /var/www/html/error.log
CustomLog /var/www/html/requests.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =void-us.com [OR]
RewriteCond %{SERVER_NAME} =www.void-us.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.
)/$ $1 [R,L]
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule (.) $1.php [L]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule (.
) $1.html [L]

#1 should not use port “any”
#2 seems OK for port 443
#3 duplicates #2 (I would remove it)
#4 seems OK for port 80

If you want a “default”, make two, one for port 80 and one for port 443.

show the vhost file for (#2)
servername www.void-us.com
port 443

also what client are you using to get the certs?
show the full command line of the request.

sudo certbot --apache -d void-us.com -d www.void-us.com

It seemed to be the mismatch overlap in the webmin. Thanks! Also, what should I do about VHost #1 being on port any

decide if it will be HTTP (port 80) or HTTPS (port 443)

show
certbot --version
certbot certificates

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