Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to install Let’s Encrypt on AWS (EC2) ?
Search
Amimoto - Flexible Cloud WordPress Hosting
March 18, 2016
How-to & DIY
1
1.9k
How to install Let’s Encrypt on AWS (EC2) ?
How to install Let’s Encrypt on AMIMOTO ?
AMIMOTO (HHVM) + SSL(Let's Encrypt)
Amimoto - Flexible Cloud WordPress Hosting
March 18, 2016
Tweet
Share
More Decks by Amimoto - Flexible Cloud WordPress Hosting
See All by Amimoto - Flexible Cloud WordPress Hosting
[日本語] AMIMOTO-AMI Lineup
amimoto
0
150
EdgeCase - A speaker series by J2 Design
amimoto
0
340
Progress the system operation drastically with Cloud Automator — AMIMOTO side—
amimoto
0
180
[東京]Cloud_Automatorで攻めのシステム運用 AMIMOTO スタック編
amimoto
0
870
AMIMOTO Design Pattern + Server-less Architecture
amimoto
0
490
WooCommerce with Elasticsearch
amimoto
1
460
[日本語] WooCommerce with Elasticsearch
amimoto
0
240
Amazon CloudFront with AWS Certificate Manager
amimoto
0
210
WordPress with CloudFront + AMAZON RDS + S3
amimoto
1
690
Other Decks in How-to & DIY
See All in How-to & DIY
在宅フルリモートワークを可能にするスキルと知識n連発! / how to more effective remoteworking
masaru_b_cl
3
1.1k
Terra Charge|急速充電器ご利用ガイドブック / Terra Charge Fast Charger Guidebook
contents
1
340
AIをフル活用! 猫版MBTI「CATS診断」 爆速開発の裏側【個人開発のAIツール活用 LT Night 登壇用スライド】
omori0219
0
950
3ヶ月でできる! 探査機自作ゼミ教材自作入門
sksat
6
2.6k
Within the team, I grow as a tester and continuously pursue product quality
camel_404
7
2.2k
JAWS-UGとAWS - JAWS-UG彩の国埼玉設立のお祝い
awsjcpm
2
490
苦いビールを避ける冴えたやり方
watany
2
410
M5Stackを使ってSズキの魔改造モンスターマシンを作ってみた
syumme01
0
170
PlatformIO IDE用M5Stack定型コード環境の紹介
3110
1
550
JAWS-UGから学んだコミュニティの成功要因 (Success Factors)
awsjcpm
5
500
How to create better speaker proposals
logico_jp
2
900
miiboとamiibo繋げてみた。 #miibo #amiibo #iotlt
n0bisuke2
1
350
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Transcript
@Amimoto_Ami amimoto-ami.com AMIMOTO (HHVM) + SSLʢLet's Encryptʣ
WHAT IS AN SSL CERTIFICATE
Length of time the certificate is good Company Details
of the authority who issued the Company Information a security SSL certificates contains
How to know if a website uses SSL/TLS
BENEFITS OF HAVING AN SSL CERTIFICATE
HTTP/2 SEO TRUST
CONSEQUENCE S OF NOT HAVING AN CERTIFICATE
HOW TO GET A CERTIFICATE
Multi-domain / Wildcard Basic - per domain Paid SSL certificates
It’s free, automated, and open.
HOW TO INSTALL LET’S ENCRYPT
Login to your AWS Console
Create hosted zone for your domain - Route 53
Create hosted zone for your domain - Route 53
Create hosted zone for your domain - Route 53
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Launch an AMIMOTO AMI - EC2
Assign an Elastic IP to your instance
Assign an Elastic IP to your instance
Assign an Elastic IP to your instance
Assign an Elastic IP to your instance
Login to your instance
Install WordPress 1. Log into the root of your server
using SSH: $ ssh -i /Users/macpil/Desktop/example.pem ec2-user@instance_ip or domain 2. Update all packges: $ sudo yum update 3. Install WordPress: $ sudo /usr/local/bin/wp-setup example.com
Install pip and Let’s encrypt 1. Install Python: $
sudo yum install python27-pip python27-virtualenv augeas-libs dialog gcc libffi-devel openssl-devel system-rpm-config 2. Install Let’s encrypt: $ sudo virtualenv /opt/letsencrypt/ $ sudo /opt/letsencrypt/bin/pip install letsencrypt 3. Create a certificate $ sudo /opt/letsencrypt/bin/letsencrypt certonly -t -d example.com - a webroot --webroot-path=/var/www/vhosts/example.com/ --rsa-key-size 2048 --server https://acme-v01.api.letsencrypt.org/directory 4. Enter email address used for urgent notices and lost key recovery
Install pip and Let’s encrypt 1. Change nginx settings for:
$ sudo cp /etc/nginx/conf.d/default-ssl.conf /etc/nginx/conf.d/ example.com-ssl.conf 2. Edit gomp.pl-ssl.conf: $ sudo vi /etc/nginx/conf.d/example.com-ssl.conf
gomp.pl-ssl.conf server { listen 443 ssl http2; server_name example.com; root
/var/www/vhosts/example.com; index index.html index.htm; charset utf-8; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_ciphers AESGCM:HIGH:!aNULL:!MD5; ssl_session_cache shared:SSL:10m; ssl_session_timeout 5m; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; access_log /var/log/nginx/example.com.access.log main; error_log /var/log/nginx/example.com.error.log;
Install pip and Let’s encrypt 3. Change nginx settings for:
$ sudo cp /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/ example.conf 4. Edit gomp.pl.conf: $ sudo vi /etc/nginx/conf.d/example.com.conf
gomp.pl.conf server { listen 80; server_name example.com; root /var/www/vhosts/example.com; index
index.html index.htm; charset utf-8; access_log /var/log/nginx/example.com.access.log main; error_log /var/log/nginx/example.com.error.log;
Install pip and Let’s encrypt 5. Restart nginx: $
sudo service nginx restart
SETUP YOUR WORDPRESS
Copy your instance ID and configure your WordPress
http://amimoto-ami.com/slack/ Questions:
@Amimoto_Ami amimoto-ami.com THANK YOU! AMIMOTO (HHVM) + SSLʢLet's Encryptʣ