phpapachessl-certificate

Unable to locate package python-certbot-apache on Ubuntu 14.04 AWS


I have tried installing certbot SSL certificate on apache. Following command I performed.

  1. sudo add-apt-repository ppa:certbot/certbot
  2. sudo apt-get update
  3. sudo apt-get install python-certbot-apache

after running 3rd command I get below error. "Unable to locate package python-certbot-apache"

if anyone can help me sort this out, would be great.


Solution

  • I had the same problem, although if you remove sudo at the beginning so it reads

    apt-get install python-certbot-apache
    

    It gives you a hint to the more up to date version.
    So, it should do it if you use

    sudo apt install python3-certbot-apache
    
    sudo apt install -y certbot python3-certbot-apache