무료로 HTTPS 적용하기 (Lets' Encrypt)
Attachment '1' |
|
---|
![ssl.jpg](https://www.hooni.net/xe/files/attach/images/207/081/078/4234c1195b4e371bd4fc89e4456df5f1.jpg)
Let’s Encrypt는 비영리 공익법인인 인터넷 보안 연구 그룹(ISRG)에 의해 만들어진 자동화된 무료 개방형 인증 기관(CA)이다. 2015년 9월 첫 인증발급 이후로 2016년 11월 기준 2천만개 이상의 인증서를 발급해오고 있으며, 비영리 단체부터 Fortune 100대 기업에 이르기까지 다양한 후원자들과 함께 보다 안전한 인터넷 환경을 위해 협력하고 있다.
현재 내 서버 환경인 Apache, CentOS 6 기준의 설치 스크립트 ㅋㅋ
인증서 유효기간인 3개월 마다 저걸 해줘야 한다.
1년에 4번이니 할만 할 듯.
Install
Since it doesn't seem like your operating system has a packaged version of Certbot, you should use our certbot-auto script to get a copy:
$ wget https://dl.eff.org/certbot-auto $ chmod a+x certbot-auto
certbot-auto accepts the same flags as certbot; it installs all of its own dependencies and updates the client code automatically. So you can just run:
$ ./certbot-auto
Get Started
Certbot has a fairly solid beta-quality Apache plugin, which is supported on many platforms, and automates both obtaining and installing certs:
$ ./path/to/certbot-auto --apache
If you're feeling more conservative and would like to make the changes to your Apache configuration by hand, you can use the certonly subcommand:
$ ./path/to/certbot-auto --apache certonly
To learn more about how to use Certbot read our documentation.
Automating renewal
Certbot can be configured to renew your certificates automatically before they expire. Since Let's Encrypt certificates last for 90 days, it's highly advisable to take advantage of this feature. You can test automatic renewal for your certificates by running this command:
$ ./path/to/certbot-auto renew --dry-run
If that appears to be working correctly, you can arrange for automatic renewal by adding a cronor systemd job which runs the following:
$ ./path/to/certbot-auto renew --quiet
More detailed information and options about renewal can be found in the full documentation.
Note: if you're setting up a cron or systemd job, we recommend running it twice per day (it won't do anything until your certificates are due for renewal or revoked, but running it regularly would give your site a chance of staying online in case a Let's Encrypt-initiated revocation happened for some reason). Please select a random minute within the hour for your renewal tasks.
[참고] https://letsencrypt.org
[참고] https://certbot.eff.org
[참고] https://blog.outsider.ne.kr/1178
No. | Category | Subject | Author | Date | Views |
---|---|---|---|---|---|
» | System/OS |
무료로 HTTPS 적용하기 (Lets' Encrypt)
![]() |
hooni | 2017.02.16 | 2397 |
116 | Etc |
모바일 프로그래머가 갖추어야 할 필수 역량
![]() |
hooni | 2017.02.16 | 1517 |
115 | Develop |
[ios] Facebook Cache 갱신하는 함수
![]() |
hooni | 2017.02.27 | 1333 |
114 | Develop |
[js] Javascript로 만든 포트리스 (2010)
5 ![]() |
hooni | 2017.03.03 | 2831 |
113 | Etc |
종합시험 관련 자료
![]() |
hooni | 2017.03.15 | 0 |
112 | Develop |
[ios] 동영상 플레이어 샘플 (for PIP Player)
![]() |
hooni | 2017.03.15 | 1416 |
111 | Develop |
Mac OS 에 Jenkins 설치하기 (Homebrew)
2 ![]() |
hooni | 2017.03.15 | 8412 |
110 | Develop |
사이버보안실무 수업 메모
![]() |
hooni | 2017.03.23 | 0 |
109 | Develop |
[ios] Xcode에서 특정 파일만 ARC 따로 설정하는 방법
![]() |
hooni | 2017.03.29 | 1099 |
108 | Database | [mysql] 쿼리 실행시 ERROR 1366 (HY000) : incorrect string value : for column 3 | hooni | 2017.03.30 | 8985 |
107 | Etc | 사이버보안실무 수업 메모 | hooni | 2017.03.30 | 955 |
106 | Develop |
[ios] 비디오,네트워크,소셜로그인 테스트
![]() |
hooni | 2017.04.04 | 810 |