HOME 개발팁 무료 https 사용하기 certbot-auto

프로그램 작업하다 좋은 팁, 정보, 테스트를 기록하는 곳입니다.


웹서버 | 무료 https 사용하기 certbot-auto

페이지 정보

작성자 굿스웹 작성일19-09-23 09:56 조회807회 댓글0건

본문

mkdir /usr/local/src/certbot 

cd /usr/local/src/certbot 



wget https://dl.eff.org/certbot-auto 

chmod a+x certbot-auto 



/certbot-auto 


서비스 약관 (A)gree / (C)ancel ==> A


We'd like to send you end ~~~

(Y)es / (N)o : N  ==> N


Which names https ~ 도메인 위치번호 리스트 선택



완료~~


기타 

vi /etc/httpd/conf/httpd.conf 


<VirtualHost *:443>

...

SSLCertificateFile /etc/letsencrypt/live/[등록한 도메인]/cert.pem

SSLCertificateKeyFile /etc/letsencrypt/live/[등록한 도메인]/privkey.pem

Include /etc/letsencrypt/options-ssl-apache.conf

SSLCertificateChainFile /etc/letsencrypt/live/[등록한 도메인]/chain.pem

</VirtualHost *:443>




재시작
sudo systemctl restart httpd.service




[인증서 갱신 테스트]

./certbot-auto renew --dry-run


mv ~/certbot-auto /bin
vi /etc/crontab 30 3 1 * * root /bin/certbot-auto renew >> /var/log/ssl-renew.log
service crond restart # 확인 ps -ef | grep cron




#https #crond #dns



[주소복사] https://www.goodsweb.kr/?u=D41MA4y3
SNS 알리기
핀터레스트
텔레그램로
블로그로
카카오스토리
카톡 공유

관련 블로그
로딩중


1명  IP : 3.140.♡.12
001 3.♡.198.12 시작페이지
(/bbs/board.php?bo_table=startpage&page=1)

접속자
  • 오늘 : 30
  • 어제 : 227
  • 최대 : 874
  • 전체 : 408,257

검색로봇(Robots) 최근 방문시간
  • GOOGLE : 7시간 전
  • BING : 13시간 전
  • NAVER : 1일 전
  • DAUM : 6일 전

ETH : 0x8abf3B748ab78828AE07685e4fd53d1a606f18D3



페이스북 네이버 블로그 굿스웹 쇼핑몰 네이버 카페 굿스웹 트위터 굿스웹 티스토리 Google Play