1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

LetsEncryptでSSL証明書を取得

Posted at

LetsEncryptでSSL証明書を取得

インストール

git clone https://github.com/letsencrypt/letsencrypt.git
cd letsencrypt
./letsencrypt-auto --help

webrootを利用する場合

./letsencrypt-auto certonly --webroot --webroot-path ~/encrypt.example.com -d encrypt.example.com

standaloneを利用する場合

./letsencrypt-auto certonly --standalone -d encrypt.example.com
# - Congratulations! Your certificate and chain have been saved at
#    /etc/letsencrypt/live/encrypt.example.com/fullchain.pem. Your cert will
#    expire on 2016-03-03. To obtain a new version of the certificate in
#    the future, simply run Let's Encrypt again.
#  - If like Let's Encrypt, please consider supporting our work by:
# 
#    Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
#    Donating to EFF:                    https://eff.org/donate-le

証明書は /etc/letsencrypt/live/encrypt.example.com/fullchain.pem
秘密鍵は /etc/letsencrypt/live/encrypt.example.com/private.pem
に出力されている

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?