• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Lets Encrypt using hosts file (on domain not live) for testing

larryk

Regular Pleskian
hi is it possible?

i'm on
Plesk Onyx
Version 17.0.17 Update #28, last updated on June 16, 2017 03:20 AM

my site is not live (no DNS pointing), but have site running in plesk.
I'm testing it to make sure all is good and https works, BUT how to test https, if site is not LIVE yet?
I added the dedicated IP and domain to my host file... so the domain 'appears' to be live... but i guess it can't work?

I got this error when I tried it :)



Error: Let's Encrypt SSL certificate installation failed: Challenge marked as invalid. Details: Invalid response from http://mydomainname.com/.well-known/acme-challenge/bPzzD4Gn0l5sT5fdinDtANO9Eus1f32np8yuGEMGezc: "

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

"
 
Let's Encrypt will only issue certificates for domain names, not for IP addresses or fo unregistered domain names. So to get a Let's Encrypt certificate, you should register a domain name and then request a certificate for that name. Domain name should be resolvable.
 
Back
Top