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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
For the DigitalOcean managed Loadbalancers, I would recommend following the steps here on how to an SSL Certificate for your domain name:
https://www.digitalocean.com/docs/networking/load-balancers/how-to/ssl-termination/
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.