It produced this output:←[0m - The following errors were reported by the server:
Domain: api.joshi234.me
Type: dns
Detail: DNS problem: SERVFAIL looking up A for api.joshi234.me -
the domain's nameservers may be malfunctioning
My web server is (include version): Flask 1.1.2
The operating system my web server runs on is (include version): Debian 10
My hosting provider, if applicable, is: None
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): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 0.31.0
Hello,
I'm trying to setup a ssl certificate but I always get that output. I tried it from the machine itself, but it didn't let me set it up because the webserver it creates is running on port 80 and the webserver itself is to. Why do I get this error?
What's the exact Certbot command you are running? If you're using Flask as your webserver, then you'll need Flask to serve files from a directory, and point Certbot to that directly.