I try install letsencrypt ssl to my server by this tutorial: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04 but I got the following errors:
W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get update hit problems but continuing anyway...
WARNING: The following packages cannot be authenticated!
libssl-dev openssl
E: There are problems and -y was used without --force-yes
Can you help me? How can I install openssl and after that the Letsencrypt? I currently using Ubuntu 14
Cheers, Brose
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Did you ensure that you ran apt-get update before attempting the install. The most common reason to see 404 errors when trying to install via apt is if your local package database is out of date.
How did you add Ondřej Surý PHP repository? Did you use a command such as the one below?
sudo add-apt-repository ppa:ondrej/php
After adding his repo you’d need to run apt-get update. You may also want to make sure that you have his signing key installed on your server as the follow suggests that it doesn’t exist:
WARNING: The following packages cannot be authenticated!
You can add his key by running:
apt-key adv --fetch-keys "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4F4EA0AAE5267A6C"
I would then run:
apt-get update
… once again.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.