Installing certbot on apache server doesn't work

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: newbiehost.ddns.net

I ran this command: certbot certonly

It produced this output: Something like "Done! Produced in 1ms. Domain: http://newbiehost.ddns.net

My web server is (include version): Apache (Idk version, sorry)

The operating system my web server runs on is (include version): Windows 10

My hosting provider, if applicable, is: -

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): 1.11.0

My problem is in title too. I can't make https:// work on my website even with certbot. I can only acces my website by http://

Hi @DavidSaguna

that's expected. You use certonly, that doesn't install the certificate. Use --reinstall - see User Guide — Certbot 1.11.0.dev0 documentation

If I would use Ubuntu would I be able to directly install it with certbot?

Ubuntu is an operating system.
Certificates are files that are not generally used directly by an operating system.

I think the question you're looking for is: "If I use Apache would I be able to ...?"
To which the answer is: YES.
certbot should work well with (a properly configured) Apache web server in one of two ways:

  • Using apache as the installer and authenticator:
    "-i apache -a apache" OR just "--apache"
  • Using apache as the installer and webroot as authenticator:
    "-i apache --webroot -w /your/doc/root/path"
2 Likes

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