hi i tried to make https for my domain the ip is pointed to my server i have tried cloudfare proxy and dns only when i try and get it i get this error:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: ukcai.ml
Type: unauthorized
Detail: During secondary validation: 2a06:98c1:3120::3: Invalid response from http://ukcai.ml/.well-known/acme-challenge/SSt1f1jyvh-XeVdWFyguqoOQ0cJY5imokFSF3UEeY_A: 404
It produced this output:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: ukcai.ml
Type: unauthorized
Detail: During secondary validation: 2a06:98c1:3120::3: Invalid response from http://ukcai.ml/.well-known/acme-challenge/SSt1f1jyvh-XeVdWFyguqoOQ0cJY5imokFSF3UEeY_A: 404
My web server is (include version):
nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
ubunt
My hosting provider, if applicable, is:
freinds vps
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):yes virtuliazor
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 1.21.0
First, have you considered using the Cloudflare Origin CA instead of using Let's Encrypt? It should be easier to setup and you won't even need to use certbot. See their docs here
Also, you should correct your problem with IPv4 and IPv6. I can't say exactly what is wrong as this depends partly on how you have Cloudflare configured.
A request using IPv4 for your home page returns an ABOUT ME page titled Doctor Magico (using http or https).
A request using IPv6 returns an nginx default page (http or https).
These really should return the same page
This could well be the reason certbot fails with a 404. Even if not it is almost certainly something wrong in your config (Cloudflare or nginx or perhaps your own network routing).