yeonghoon.kim

  • 게시판
  • 갤러리
  • aws

let's encrypt 와일드카드 인증서 발급 (CentOS7)

김영훈 2023.07.26 20:53 조회 수 : 590

# 1. epel-release 저장소 설치 
yum install -y epel-release

 


# 2. certbot 패키지 설치
yum install -y certbot

 

 

# 3. 와일드 카드 인증서 발급
certbot certonly --manual --preferred-challenges dns -d "*.25ni.pe.kr" -d "25ni.pe.kr"

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Enter email address (used for urgent renewal and security notices)
 (Enter 'c' to cancel): ioniere@25ni.pe.kr

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf. You must
agree in order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, 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: y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please deploy a DNS TXT record under the name
_acme-challenge.25ni.pe.kr with the following value:

mKjh32XHDUxTh0IjdgAhsfoLT1_ErA9Fw_fa_2QLFLU

Before continuing, verify the record is deployed.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue

Please deploy a DNS TXT record under the name
_acme-challenge.25ni.pe.kr with the following value:

vRLA6yq1GWNWoWEWAMbLij_VcVGq_yDvQ--iPU6yirg

Before continuing, verify the record is deployed.
(This must be set up in addition to the previous challenges; do not remove,
replace, or undo the previous challenge tasks yet. Note that you might be
asked to create multiple distinct TXT records with the same name. This is
permitted by DNS standards.)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue dns 레코드 추가 후 일정 시간이 지난 후 엔터


Waiting for verification...
Resetting dropped connection: acme-v02.api.letsencrypt.org
Cleaning up challenges
Subscribe to the EFF mailing list (email: ioniere@25ni.pe.kr).
Starting new HTTPS connection (1): supporters.eff.org
An unexpected error occurred:
TypeError: __str__ returned non-string (type Error)
Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at:
   /etc/letsencrypt/live/25ni.pe.kr/fullchain.pem

   Your key file has been saved at:
   /etc/letsencrypt/live/25ni.pe.kr/privkey.pem
   Your certificate will expire on 2023-10-24. 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"
 - 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


  • 추천 0

  • 비추천 0
이 게시물을
목록

댓글 2

  • 김영훈

    2023.07.26 20:54

    DNS 온라인 쿼리 도구 - Coding.Tools

    추천0 비추천0 댓글

  • 김영훈

    2023.07.26 20:57

    갱신의 경우 certonly 대신 renew 입력하여 위의 내용대로 진행

     

    certbot renew --manual --preferred-challenges dns -d "*.25ni.pe.kr" -d "25ni.pe.kr"

    추천0 비추천0 댓글

사진 및 파일 첨부

여기에 파일을 끌어 놓거나 왼쪽의 버튼을 클릭하세요.

파일 용량 제한 : 0MB (허용 확장자 : *.*)

업로드 중... (0%)

0개 첨부 됨 ( / )
 
번호 제목 글쓴이 날짜 조회 수
공지 2025 일본 여행 계획 김영훈 2024.10.10 1108
공지 현금, 저축, 투자, 지출, 예산, 보험 내역(2024-05-30) 김영훈 2024.03.10 765
45 파이썬 디스크 용량 체크 김영훈 2023.01.04 468
44 paramiko 일괄 명령 테스트 김영훈 2023.01.05 342
43 아이맥 화면 동영상 캡처 - 커맨드 + 쉬프트 + 5 김영훈 2023.02.28 245
42 Python cx_Oracle 모듈 샘플코드 김영훈 2023.03.03 348
41 시스템프로그래밍 2주차 - 사용명령 김영훈 2023.03.08 294
40 데이터베이스 2주차 - 실습 김영훈 2023.03.08 332
39 python csv 파일 읽은 후 엑셀 파일로 저장 샘플 김영훈 2023.03.16 380
38 데이터베이스 3주차 실습 김영훈 2023.03.19 345
37 Sectigo PositiveSSL 신청 시 파일 - 20230512 기준 [1] file 김영훈 2023.05.12 337
36 [Bard] node.js forever 사용법 알려줘 김영훈 2023.05.18 317
35 SAP_1. Identity & Federation Section 김영훈 2023.06.13 283
34 rockylinux kvm [1] 김영훈 2023.07.12 342
33 FCM 푸시 보내기 - pyfcm 김영훈 2023.07.20 355
32 FCM 푸시보내기 - firebase_admin 김영훈 2023.07.20 311
» let's encrypt 와일드카드 인증서 발급 (CentOS7) [2] 김영훈 2023.07.26 590
30 2학기 수강신청 김영훈 2023.08.01 304
29 pyapns_client 동시에 여러 기기로 푸시 보내기 김영훈 2023.08.03 401
28 geoip2 python [1] 김영훈 2023.08.10 343
27 삼성 스마트태그 배터리 - CR2032 김영훈 2023.08.15 286
26 iptables ip 포워딩 [1] 김영훈 2023.08.17 318
쓰기 태그
 첫 페이지 5 6 7 8 9 10 11 12 13 14 끝 페이지