• Home
  • About Me
  • Resume
  • Useful Links
  • Português
  • Contact

EmanuelCosta.com

E-Commerce, SEO/SEM/Online Marketing, Web Development, Usability, WordPress & WooCommerce

  • LinkedIn
  • Twitter
Home » ssl

Renewing letsencrypt on Amazon AWS Linux Issue

Posted on June 13, 2016 Written by EmanWeb

So, today I had to update one of my SSLs on a site I run on Amazon AWS

I entered the command to renew the certificate:
/home/letsencrypt/letsencrypt-auto --config /home/letsencrypt/cli.ini -d mydomain.com -d www.mydomain.com certonly && service httpd reload
and got this error:

Creating virtual environment...
Installing Python packages...
Installation succeeded.
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/bin/letsencrypt", line 7, in
from certbot.main import main
File "/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/main.py", line 11, in
import zope.component
File "/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/zope/component/__init__.py", line 16, in
from zope.interface import Interface
ImportError: No module named interface

After lots of research I found a Japanese blog with the solution.

Just enter this as sudo on the command prompt:

 unset PYTHON_INSTALL_LAYOUT

Then update letsencrypt:

./letsencrypt-auto -v

And run the command to renew your certificate.

p.s.: This is how my cli.ini looks like:

authenticator = webroot
webroot-path = /var/www/html/
server = https://acme-v01.api.letsencrypt.org/directory
renew-by-default = true
agree-tos = true
email = webmaster@mydomain.com

  • delicious Bookmark on Delicious
  • digg Digg this post
  • facebook Recommend on Facebook
  • linkedin Share on Linkedin
  • reddit share via Reddit
  • stumble Share with Stumblers
  • twitter Tweet about it
  • rss Subscribe to the comments on this post
  • print Print for later
  • email Tell a friend

Filed Under: Linux Tagged With: Amazon AWS, letsencrypt, ssl

Free SSL on Amazon AWS Linux Flavor

Posted on December 16, 2015 Written by EmanWeb

So I am following this great post to install Free SSL from https://letsencrypt.org and here is the list of commands I had to run to setup SSL on Amazon Linux.

sudo su

cd /home

git clone https://github.com/letsencrypt/letsencrypt

cd letsencrypt

For Amazon Linux Flavor:

./bootstrap/centos.sh

./letsencrypt-auto

./letsencrypt-auto certonly --webroot -w /home/username/public_html/ -d yourdomain.com -d www.yourdomain.com

Now, you just go to the folder /etc/letsencrypt/live/yourdomain.com and install the certificate generated there.

Do you need help using Free SSL on your site? Let me know.

  • delicious Bookmark on Delicious
  • digg Digg this post
  • facebook Recommend on Facebook
  • linkedin Share on Linkedin
  • reddit share via Reddit
  • stumble Share with Stumblers
  • twitter Tweet about it
  • rss Subscribe to the comments on this post
  • print Print for later
  • email Tell a friend

Filed Under: Linux Tagged With: aws, https, security, ssl

Find Here

About me

Hello, my name is Emanuel Costa. I build professional websites and help companies grow online. I write this blog to help myself about what I learned and perhaps help other people. I help organize meetups and whenever I can I attend tech events, specially WordCamps. Read more about me. (p.s.: Agora escrevo um blog em Português aqui: emanweb.com.br

Latest WordCamp:

WordCamps I Attended:

I am volunteering at WordCamp Las Vegas 2019″ title=

WordCamp Fortaleza

I'm attending WordCamp San Diego

I am Attending WordCamp Miami 2016


WordCamp US

Categories

  • ActionScript
  • Blogs
  • ColdFusion
  • CSS
  • Experience
  • Flex and Flash
  • Gadgets
  • Google
  • JavaScript
  • Linux
  • MySQL
  • PHP
  • SEO
  • SEO and Internet Marketing
  • SQL Server and T-SQL
  • Uncategorized
  • video
  • Web Development
  • WooCommerce
  • wordcamp
  • WordPress
May 2025
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Dec    

Recent Comments

  • Peter Crouch on How to output a list of IDs in a field as recordsets / Como retornar uma lista de IDs como recordset
  • Simon on cPanel on AWS EC2 using Amazon Linux w/ Yours Nameservers
  • WordPress Developer? Really? - EmanuelCosta.com on Gracie Brazilian Jiu Jitsu and WordPress. What these two have in common?

Follow Me

  • Linkedin
  • Meetup
  • RSS feed
  • @emanweb

Navigation

  • Home
  • About Me
  • Resume
  • Useful Links
  • Português
  • Contact

Need quick tech advice? Pick my brain:

Copyright © 2025 · Focus Pro Theme on Genesis Framework · WordPress · Log in