흑우마스터의 마법의 공간

Proxmox에서 기본 Let's Encrypt 인증서 갱신하는 방법 본문

카테고리 없음

Proxmox에서 기본 Let's Encrypt 인증서 갱신하는 방법

흑우마스터 2023. 8. 16. 18:22

결론만 말하면 acme.sh-master 라는 것을 깔고 해당 폴더에 들어가서 다음과 같이 쓰면 갱신 됨 

 

./acme.sh --issue --standalone --keypath /etc/pve/local/pve-ssl.key --fullchainpath /etc/pve/local/pve-ssl.pem -d [도메인] --server letsencrypt --reloadcmd "systemctl restart pveproxy" --debug --force

 

acme를 생성하지 않았다면 proxmox에서 acme 탭에서 아래와 같이 계정을 이미 만들어야 되거나 

 

pvenode acme account register [아이디] [이메일]

 

명령어를 통해서 만들어야 된다.

 

또한 acme.sh-master  이런거 자체가 없다면 먼저 git에서 pull 를 받아놓는게 최우선 과제이다

git clone https://github.com/acmesh-official/acme.sh.git acme.sh-master

git clone https://github.com/acmesh-official/acme.sh.git acme.sh-master