Hi, i got vps with IPv4 address, ipv6 is disabled on the server. On Apache also.
But i got also hosting with email in ovh. Hosting was bought to get 1 account email.
And its DNS ipv6 for my domain works, even i do not use it.
And i think that is the reason why i can not get cert.
What can i do now?
DOmain name muzeumndm.pl
Your domain doesn’t have an AAAA record, so IPv6 is unlikely to be causing your problems.
Please fill out the error template, including the full output of Certbot, if you’d like assistance with a specific issue:
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:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
Domain: kborowy.pl
Type: unauthorized
Detail: The key authorization file from the server did not match
this challenge
"LPovItJb1NzUiB1IWzB93KiAY2RFIO_UNqS5QTYzsPk.mLtqr4q5hoPZsZnIA-RX9KklhSRlEdg_nSBHT75H_Oo"
!=
"LPovItJb1NzUiB1IWzB93KiAY2RFIO_UNqS5QTYzsPk.4E3VCTFsySjUrqnCg0ooULx-3kbdPBygi0aWkvg5Gd8"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
Wrong redirect one domain http to other domain https. First redirect to https without new dns query, so the server can send the HSTS header. That’s fundamental using HSTS (Http Strict Transport Security). First step: Add correct redirects http ⇒ https. Perhaps in your port 80 vHost something like “RewriteEngine on” + “RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]” (two rows, without the "). Don’t add this in your port 443 vHost, that would create a loop. Then recheck your domain, should be Grade C. There is the rule to select one https version as preferred version.
Hello @bktpl. Just to get things straight: You have some domains running on Let’s Encrypt and some on self-signed certs, right? Is this just for testing some settings or because it was not working yet correctly?
Should all domains present the very same content (either by redirect or statically)?
To help you best, some more information are needed, thus I ask.
Thank You for asking.
Currently im starting with all 3 domains. Started from kborowy.pl. I go almost all what i wanted now but:
Not sure if i should redirect http to httpswww (with HSTS testing and than run) in one or two steps. So Can/Should it be http->https->httpswww as i got it now working or maybe http->httpswww direclty. If the second option is ok for HSTS later how can i achieve it with my rules. Currently got:
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [END,NE,R=permanent] in vh80 and
this:
RewriteCond %{HTTP_HOST} ^example.com$ [NC]
RewriteRule (.*) https://www.example.com$1 [R=301,L] in vhost443.
Ill do the same conf for other 2 domains, after finishing with this one.
All 3 domains should be on letsencrypt, why You say i got something on selfsight cert? Its my second question. When i test page on ssllabs i see one cert for s1c.kborowy.pl but im using it with sshd so i think it must look like this. ?
Do You have any ideas how to add HTTP2 on Centos 7?
OK, I think, Juergen’s answer brought some insight to you. This should answer the first question.
Regarding the second question: I was referring to e.g. https://www.mndm.pl/. This one uses a self-signed certificate at the moment.
What are you meaning by the SSH part? The SSH does not use SSL certificates as far as I know.
I do not know much of CentOS. But I assume there is a mod_http2 module to be installed.