Obtaining an SSL Certificate in Ubuntu

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: moodlevirtue.tk

I ran this command: sudo certbot --apche

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache

Which names would you like to activate HTTPS for?

1: moodlevirtue.tk

Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for moodlevirtue.tk
Enabled Apache rewrite module
Waiting for verification...
Challenge failed for domain moodlevirtue.tk
http-01 challenge for moodlevirtue.tk
Cleaning up challenges
Some challenges have failed.


  • The following errors were reported by the server:

    Domain: moodlevirtue.tk
    Type: dns
    Detail: no valid A records found for moodlevirtue.tk; no valid AAAA
    records found for moodlevirtue.tk

My web server is (include version): Apache2

The operating system my web server runs on is (include version): Ubuntu 20.04

My hosting provider, if applicable, is: freenom.com

I can login to a root shell on my machine (yes or no, or I don't know): I don't know

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): I dont' know.

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot --version`

You have to add an A and/or AAAA record pointing to your server's IP addresses in your DNS control panel.

There isn't one currently. If you added it, it might be that freenom DNS are slow. You might think to change them. (I don't know if you can, on their free plan)

1 Like

FYI: When using HTTP authentication, the IP must be reachable via the Internet.
[RFC 1918 prohibits routing such numbers via the Internet]

Name:    www.moodlevirtue.tk

Furthermore, when providing links/access to your site, Internet users must reach you via a routable IP.


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