무료 공인 인증 받기

2018. 8. 12. 18:53·Development/개발 환경 구축

Ubuntu 16.04 / Let’s Encrypt 무료 SSL 인증서 발급 받기


   


 

우분투(Ubuntu) 16.04에서 Let’s Encrypt 인증서를 발급 받고 관리하는 방법을 정리합니다. 클라이언트 프로그램은 Let’s Encrypt에서 추천하는 Certbot을 사용합니다.


환경

Ubuntu 16.04

Apache Web Server


저장소 추가

add-apt-repository ppa:certbot/certbot

add-apt-repository 설치를 위해, apt-get install software-properties-common 설치 한다.


업데이트

apt update


설치

apt install python-certbot-apache


인증서 발급

접속 가능한 도메인이어야 발급 가능합니다.

인증서 발급하고, Apache 설정 파일도 자동으로 만듭니다.


abc.com 인증서 발급

certbot --apache -d abc.com


abc.com과 www.abc.com 인증서 동시 발급

certbot --apache -d abc.com -d www.abc.com


인증서 갱신

certbot renew


인증서 삭제

abc.com 인증서 삭제

certbot delete --cert-name abc.com




root@404ec1900f08:/etc/init.d# certbot certonly --webroot -w /var/www/html -d phpdoumi.mooo.com

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Plugins selected: Authenticator webroot, Installer None

Enter email address (used for urgent renewal and security notices) (Enter 'c' to

cancel): phpdoumi@gmail.com


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Please read the Terms of Service at

https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must

agree in order to register with the ACME server at

https://acme-v02.api.letsencrypt.org/directory

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(A)gree/(C)ancel: a


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Would you be willing to share your email address with the Electronic Frontier

Foundation, a founding partner of the Let's Encrypt project and the non-profit

organization that develops Certbot? We'd like to send you email about our work

encrypting the web, EFF news, campaigns, and ways to support digital freedom.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(Y)es/(N)o: n

Obtaining a new certificate

Performing the following challenges:

http-01 challenge for phpdoumi.mooo.com

Using the webroot path /var/www/html for all unmatched domains.

Waiting for verification...

Cleaning up challenges


IMPORTANT NOTES:

 - Congratulations! Your certificate and chain have been saved at:

   /etc/letsencrypt/live/phpdoumi.mooo.com/fullchain.pem

   Your key file has been saved at:

   /etc/letsencrypt/live/phpdoumi.mooo.com/privkey.pem

   Your cert will expire on 2018-11-10. To obtain a new or tweaked

   version of this certificate in the future, simply run certbot

   again. To non-interactively renew *all* of your certificates, run

   "certbot renew"

 - Your account credentials have been saved in your Certbot

   configuration directory at /etc/letsencrypt. You should make a

   secure backup of this folder now. This configuration directory will

   also contain certificates and private keys obtained by Certbot so

   making regular backups of this folder is ideal.

 - If you like Certbot, please consider supporting our work by:


   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate

   Donating to EFF:                    https://eff.org/donate-le


저작자표시 (새창열림)

'Development > 개발 환경 구축' 카테고리의 다른 글

Yona H2 설치  (1) 2018.08.20
postfix gmail smtp setup  (0) 2018.08.12
Webpack test  (0) 2018.08.03
1 PAGE PROPOSAL  (0) 2018.07.25
2018 프로그래밍 트렌드 따라잡기  (0) 2018.07.25
'Development/개발 환경 구축' 카테고리의 다른 글
  • Yona H2 설치
  • postfix gmail smtp setup
  • Webpack test
  • 1 PAGE PROPOSAL
phpdoumi
phpdoumi
리눅스부터 인공지능까지 하나씩 해 보고 과정을 정리하자.
  • phpdoumi
    AI 세상 ?
    phpdoumi
  • 전체
    오늘
    어제
    • 분류 전체보기 (102)
      • Currents (0)
        • 2024.1 with Ubuntu 24.04 (0)
        • 2024.1 with Ubuntu 22.04 (0)
        • Groupware (0)
        • Spring Boot (0)
        • 스프링부트 + JPA + thymeleaf + S.. (0)
      • Cloud (6)
        • Yoga with Ubuntu 22.04 (0)
        • Ussuri with Ubuntu 20.04 (0)
        • Stein for Ubuntu 18.04 (0)
        • Queens (0)
        • RDO_Tech (0)
        • IBM Cloud private (0)
        • 교육 (0)
        • Pike release (0)
        • Ocata release (0)
        • Ocata for Ubuntu 16.04(w ce.. (0)
        • 도입절차 (0)
        • Newton for Ubuntu 16.04(w c.. (0)
        • Newton for Ubuntu 16.04(w c.. (0)
        • Newton For Ubuntu 16.04 (0)
        • Mitaka for Ubuntu 14.04(w c.. (0)
        • Liberty on Ubuntu 14.04 (0)
        • Mitaka ubuntu 14.04 (0)
        • AutoPilot (0)
        • Etc (5)
        • Mitaka (1)
        • Liberty (0)
      • Trend 기술 (5)
        • BlockChain (0)
        • AI (1)
        • Raspberry PI & Arduino (0)
        • Big Data (1)
        • Mobile (0)
        • Tensorflow (0)
        • Nutanix (1)
        • SDN (0)
        • 3D Printing (1)
        • pfsense (0)
        • BTS (0)
      • Docker&Container (2)
        • Core OS (1)
        • Docker (1)
      • Development (14)
        • bbgo (0)
        • Ansible (0)
        • ofbiz (0)
        • React (0)
        • UML Designer (0)
        • Django (3)
        • react-admin (0)
        • VSCode (0)
        • Vue.js (3)
        • Yona (0)
        • Shopping Mall (0)
        • Python (0)
        • Genkins (0)
        • 개발 환경 구축 (6)
        • Locallibrary (Python) (0)
      • 행복한경영이야기 (63)
      • Linux (6)
        • Open Source (5)
        • Ubuntu (0)
        • RedHat (0)
      • Todo (2)
      • 먹을거리 (4)
      • 관심거리 (0)
  • 블로그 메뉴

    • 홈
    • 태그
    • 미디어로그
    • 위치로그
    • 방명록
  • 링크

    • 모바일경제연구소
    • CIO 코리아
    • itworld
    • dbguide.net
    • techm
    • splunk install
    • 끊임없이
    • yO Kang(GitHub)
    • [오픈소스컨설팅]엔터프라이즈 오픈소스 도입전략
    • Cloud Test Report(Mirantis)
    • git 한글 문서
    • grooveyou
    • Minsky Installation
    • 누구나 쉽게 이해할 수 있는 Git 입문
    • Tacademy
    • TAEWAN.KIM
  • 공지사항

  • 인기 글

  • 태그

  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.2
phpdoumi
무료 공인 인증 받기
상단으로

티스토리툴바