Report this

What is the reason for this report?

How to do a SSL certification for Load balancer and droplets On Centos 8

Posted on December 29, 2020

Configuration 1 Load Balancer (Example IP : 24.24.24.24.220) 2 Droplets On each droplet there is Node and Laravel apps are working with server blocking And i have pointed the Domain and Subdomain to the load balancer 1 PGMX.MX (To the Load Balancer) For Laravel app On default port 80 2 VE.PGMX.MX (To the Load Balancer) For Node app

So this both domain and subdomains are pointing to the load balancer only and from droplet when i am trying to do a SSL Certification from any droplet using Letsencrypt

It says

Challenge failed for domain pgmx.mx
http-01 challenge for pgmx.mx
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: pgmx.mx
   Type:   unauthorized
   Detail: Invalid response from
   http://pgmx.mx/.well-known/acme-challenge/-usGpv0f-YzPXgn3L-osPZ2ko6bRH-EMRSgVM8KnB0I
   "<!DOCTYPE html>\n<html lang=\"en\">\n
   <head>\n        <meta charset=\"utf-8\">\n        <meta
   name=\"viewport\" content=\"width=device-w"

   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.

So how can i do the SSL certification of Domain and Subdomain

I was using this guide How to do SSL On Centos Letsencrypt

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.