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
160
EdgeCase - A speaker series by J2 Design
amimoto
0
360
Progress the system operation drastically with Cloud Automator — AMIMOTO side—
amimoto
0
190
[東京]Cloud_Automatorで攻めのシステム運用 AMIMOTO スタック編
amimoto
0
890
AMIMOTO Design Pattern + Server-less Architecture
amimoto
0
500
WooCommerce with Elasticsearch
amimoto
1
470
[日本語] WooCommerce with Elasticsearch
amimoto
0
250
Amazon CloudFront with AWS Certificate Manager
amimoto
0
210
WordPress with CloudFront + AMAZON RDS + S3
amimoto
1
700
Other Decks in How-to & DIY
See All in How-to & DIY
The Definitive? Guide To Locally Organizing RubyKaigi
sylph01
6
1.7k
スマートハウスの蓄電性能の効率化を実現してみた~電気自動車編~
runrunsan
0
290
LT(Lightning Talk)のドキドキ感を共有する IoT ぼっとを作った話
scbc1167
1
250
地方カンファレンスのスタッフしてて思うこと
yumechi
0
120
JAWS-UG/AWSコミュニティプログラムのご紹介 - JAWS-UG 佐賀
awsjcpm
2
170
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
1
150
未来大生の胃を支える函館グルメ
deflis
0
550
ModuleLLM、最前線!
anoken
1
260
ORBBEC会社概要 製品カタログ 2024 11 10
takasumasakazu
0
160
安全に失敗するための手遊び-未定義動作を引き出そう-
zilmina
0
660
Raspberry Pi Connectを使って #Manus => Node-RED操作チャレンジ #iotlt vol121
n0bisuke2
0
150
QFHアンテナを作ってみた、 それとパッチアンテナ
takurx
1
250
Featured
See All Featured
Scaling GitHub
holman
463
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
880
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Become a Pro
speakerdeck
PRO
29
5.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
How to Ace a Technical Interview
jacobian
280
24k
Faster Mobile Websites
deanohume
310
31k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
570
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
Balancing Empowerment & Direction
lara
5
700
4 Signs Your Business is Dying
shpigford
185
22k
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ʣ