Hey there,
I installed certbot on my ubuntu 17.04 successfully but when I run:
sudo certbot --apacheI get the following error:`sudo certbot --apache [sudo] password for vps: Saving debug log to /var/log/letsencrypt/letsencrypt.log Which names would you like to activate HTTPS for? ------------------------------------------------------------------------------- 1: babataher.org 2: forum.babataher.org ------------------------------------------------------------------------------- Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter 'c' to cancel): 1,2 Obtaining a new certificate Performing the following challenges: tls-sni-01 challenge for babataher.org tls-sni-01 challenge for forum.babataher.org Cleaning up challenges File: - Could not be found to be deleted /var/lib/letsencrypt/WKMjjxei-84cBk3gCmds4R-EMiioUgswQcAtFsleliI.pem - Certbot probably shut down unexpectedly File: - Could not be found to be deleted /var/lib/letsencrypt/WKMjjxei-84cBk3gCmds4R-EMiioUgswQcAtFsleliI.crt - Certbot probably shut down unexpectedly An unexpected error occurred: AttributeError: 'module' object has no attribute 'rand' Please see the logfiles in /var/log/letsencrypt for more details.