• 돌아가기
  • 아래로
  • 위로
  • 목록
  • 댓글
질문

이 로그 좀 해석 좀 해주세요

올리고당 189

1

3

어제 인증서 관련하여 발행 받고 전부 성공은 했습니다.

 

90일 기한이 있어 크론탭 생성하여 진행하고자 해서 다음과 같은 방법으로 진행하였습니다.

 

SSL 인증서를 자동 갱신

1) 개요 : 암호화 인증서는 90일 동안 유효합니다. 만료되기 전에 인증서를 자동으로 갱신하기

위해 하루에 두 번 실행되며 만료 30일 전에 인증서가 자동으로 갱신되는 cronjob을

만듭니다.

2) crontab 명령을 실행하여 새 cronjob을 생성 (명령어 : crontab -e)

3) 다음 줄을 붙여넣습니다.

0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && certbot -q renew --renew-hook "systemctl reload nginx"

4) 파일을 저장한 후 닫기.

5) 갱신 프로세스를 테스트하려면 certbot 명령과 함께 --dry-run 스위치를 사용 가능

certbot renew --dry-run

6) 오류가 없으면 테스트 갱신 프로세스가 성공적이었음을 의미합니다

 

그런데 먼가 fail이라고 하면서 아래와 같은 메시지를 띄웁니다.

[root@centos7 ~]# certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/woongs357.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator webroot, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Simulating renewal of an existing certificate for woongs357.com and www.woongs357.com
Performing the following challenges:
http-01 challenge for woongs357.com
http-01 challenge for www.woongs357.com
Using the webroot path /var/lib/letsencrypt for all unmatched domains.
Waiting for verification...
Challenge failed for domain woongs357.com
Challenge failed for domain www.woongs357.com
http-01 challenge for woongs357.com
http-01 challenge for www.woongs357.com
Cleaning up challenges
Failed to renew certificate woongs357.com with error: Some challenges have failed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/www.woongs357.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert not due for renewal, but simulating renewal for dry run
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
Simulating renewal of an existing certificate for www.woongs357.com
Performing the following challenges:
http-01 challenge for www.woongs357.com
Waiting for verification...
Cleaning up challenges

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/www.woongs357.com/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following simulated renewals succeeded:
  /etc/letsencrypt/live/www.woongs357.com/fullchain.pem (success)

The following simulated renewals failed:
  /etc/letsencrypt/live/woongs357.com/fullchain.pem (failure)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: woongs357.com
   Type:   connection
   Detail: Fetching
   http://woongs357.com/.well-known/acme-challenge/JzsZcmPVpGeFFomtpZgsmXef-crEM92Ymuaoco1pfsg:
   Connection refused

   Domain: www.woongs357.com
   Type:   connection
   Detail: Fetching
   http://www.woongs357.com/.well-known/acme-challenge/JOTfRpVpuB-fA69n4oIjdexB_NU2PH-GS7zspUv2MRI:
   Connection refused

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.

 

저도 보고 있지만, 이유를 모르겠어서 올립니다. 

 

신고공유스크랩
3
profile image 1등
달소 2021.07.21. 11:05

이전과 마찬가지로 인증서 발급과정에서 진행되는 파일생성 및 인증이 되지않아서 발생하는 오류로 보입니다.

 

인증방식이 바뀐거라 최신버전의 진행방법을 다시 구글링하셔야될듯합니다.

 

IMPORTANT NOTES:

- The following errors were reported by the server:

 

Domain: woongs357.com

Type: connection

Detail: Fetching

http://woongs357.com/.well-known/acme-challenge/JzsZcmPVpGeFFomtpZgsmXef-crEM92Ymuaoco1pfsg:

Connection refused

 

Domain: www.woongs357.com

Type: connection

Detail: Fetching

http://www.woongs357.com/.well-known/acme-challenge/JOTfRpVpuB-fA69n4oIjdexB_NU2PH-GS7zspUv2MRI:

Connection refused

[Reference] : 올리고당, 「서버포럼 - 이 로그 좀 해석 좀 해주세요」 https://svrforum.com/?document_srl=52816&mid=svr&act=dispBoardContent.

댓글 쓰기 권한이 없습니다. 로그인

취소 댓글 등록

cmt alert

신고

"님의 댓글"

이 댓글을 신고하시겠습니까?

댓글 삭제

"님의 댓글"

삭제하시겠습니까?


목록

공유

facebooktwitterpinterestbandkakao story
번호 분류 제목 글쓴이 날짜 조회 추천
가이드 나만의 구독 관리하기 Wallos 서버 구축하기. 8 달소 1일 전17:19 233 +2
후기 네트워크 구성도와 상세 스펙 공유 3 맘맘 1일 전16:17 233 +1
정보 NPM에서 Tailscale IP로 역방향 프록시 안 되는 문제 해결 방법 2 fenfen 2일 전11:36 142 +5
1458 질문
normal
랩실뚜벅이 22시간 전16:42 199 0
1457 질문
normal
eond 2일 전09:41 129 0
1456 질문
normal
초보입니다ㅠㅠ 3일 전12:41 154 0
1455 질문
normal
블랙앤해적 3일 전21:41 156 0
1454 질문
image
똥쓰똥쓰 4일 전17:43 243 0
1453 질문
image
EXP 4일 전15:32 100 0
1452 질문
image
감자탕 4일 전15:31 169 0
1451 질문
image
동도리군 6일 전13:23 286 0
1450 질문
normal
newsted1 24.05.11.09:57 139 0
1449 질문
normal
초보입니다ㅠㅠ 24.05.11.01:44 209 0
1448 질문
normal
서버구축하자 24.05.09.21:59 108 0
1447 질문
image
경호 24.05.09.10:34 303 0
1446 질문
normal
맛밥 24.05.07.16:13 262 0
1445 질문
normal
니속사정 24.05.06.20:42 341 +1
1444 질문
image
ljr10 24.05.06.12:45 194 0
1443 질문
normal
스키피95 24.05.05.00:07 165 0
1442 질문
normal
고심분투 24.05.04.17:10 296 0
1441 질문
image
경호 24.05.04.15:50 130 0
1440 질문
normal
경호 24.05.04.13:23 89 0
1439 질문
image
EXP 24.05.02.23:48 115 0