1. Install & run Certbot docker:

2. Configuration steps:

  1. Console message: Are you OK with your IP being logged?
  2. Enter Y
  3. Console message: Please deploy a DNS TXT record under the name
    _acme-challenge.example.com with the following value:
    a_random_value_generated
  4. Add a TXT record for your domain using DNS management
    Domain: _acme-challenge.example.com
    Value: a_random_value_generated
  5. Wait 30 sec, then ENTER
  6. IF SUCCESS then it will show this console message:
    IMPORTANT NOTES:
    – Congratulations! Your certificate and chain have been saved at:
    /etc/letsencrypt/live/example.com/fullchain.pem

Please note that it only generates the cert files so you must manually configure Apache/Nginx.