Install Certbot on local host (Apache Server)

Hello Guys,

I want to install Certbot on local host( Apache Server) and while installing system gives me error : “The server could not connect to the client to verify the domain :: DNS problem”. Can we use Certbot on local server?.
I am using linux opensuse.

Thanks

It depends exactly what you want to do ( and what you mean by “local host” )

You can only obtain a certificate for a domain name that you own / control. so if it’s “mylocalserver.mydomain.com” and you own “mydomain.com” then yes you can obtain a certificate, even if “mylocalserver.mydomain.com” is in your local network and not accessible to everyone ( you would need to use the dns challenge if the full URL isn’t reachable from the general internet though)

If you want to obtain a certificate for “myserver.local” where that isn’t a real FQDN and hence you don’t really own that domain - then no you can’t.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.