letsencrypt 를 사용해서 기존에쓰던 도메인 +@ 로 추가해주려 했다.
기존 정보를 불러오기 위한 ./letsencrypt-auto certificates 명령어 사용
./letsencrypt-auto certificates
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: [NAME]
Serial Number: ***************
Domains: [도메인1]
Expiry Date: 2020-10-25 01:08:16+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/joblog/fullchain.pem
Private Key Path: /etc/letsencrypt/live/joblog/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
도메인 추가 명령어
./letsencrypt-auto certonly --cert-name [NAME] --standalone -d [도메인1], [도메인2], [도메인3], [도메인4]
Requested domain is not a FQDN because it contains an empty label.
구글링 해보니 -d 뒤로 도메인 사이의 공백이 문제라고 한다.
./letsencrypt-auto certonly --cert-name [NAME] --standalone -d [도메인1],[도메인2],[도메인3],[도메인4]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
You are updating certificate [NAME] to include new domain(s):
+ [도메인1]
+ [도메인2]
+ [도메인3]
You are also removing previously included domain(s):
(None)
Did you intend to make this change?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(U)pdate cert/(C)ancel: u
추가하려는 도메인정보를 확인하고 업데이트를 해주었다.
./letsencrypt-auto certificates 명령어로 결과물을 확인
+인증서 갱신은 보너스
출처
letsencrypt ssl 발급, 추가, 삭제
신규 인증서 발급받기 다음 둘 중 한가지 방법으로 신규 인증서를 발급받을 수 있습니다. ⅰ) Standalone 방식 운용 중인 웹 서버를 잠시 Shutdown하고 다음 명령을 실행합니다. certbot
cnisoft.tistory.com
community.letsencrypt.org/t/opaque-error-message/72159/3
Opaque error message
Hi @lewisl looks curious. there is a space. Try using two -d options certbot certonly --cert-name theprequel.org -d theprequel.org -d www.theprequel.org or without the space certbot certonly --cert-name theprequel.org -d theprequel.org,www.theprequel.org A
community.letsencrypt.org
'개발이야기 > Error Note' 카테고리의 다른 글
"RangeError: Maximum call stack size exceeded" (0) | 2021.06.14 |
---|---|
[NGINX] (13: Permission denied) (0) | 2020.07.14 |
[NPM] Error: EACES : permission deined, mkdir ' ... node sass/build' (0) | 2020.07.06 |
[MariaDB]Error Code: 1221. Incorrect usage of DB GRANT and GLOBAL PRIVILEGES (1) | 2020.07.05 |