I have tried installing certbot SSL certificate on apache. Following command I performed.
- sudo add-apt-repository ppa:certbot/certbot
- sudo apt-get update
- 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.
4
Answers
I had the same problem, although if you remove
sudo
at the beginning so it readsIt gives you a hint to the more up to date version.
So, it should do it if you use
Certbot doesn’t support the apt-get installation on Ubuntu 14 anymore. But you still can install. To do it, log in to the server via SSH and run:
Then use
certbot
as usual.Source: https://certbot.eff.org/lets-encrypt/pip-apache
If you get an error like
CryptographyDeprecationWarning: Support for your Python version is deprecated
, then:Then run
certbot
as usual.On most recent Ubuntu releases, the Certbot and its Apache plugin can be installed with:
(note the "python3", whereas most resources only mention "python")
I had the same problem, although if you remove
sudo
at the beginning so it readsIt gives you a hint to the more up to date version.
So, it should do it if you use