목차

, , , , , , ,

ACME (Automatic Certificate Management Environment)

ACME는 CA가 domain control을 검증하고 X.509 certificate의 발급, 갱신, 폐기를 자동화하도록 정의한 RFC 8555 protocol이다. Certbot은 이 protocol을 구현한 ACME client다.

Summary

Protocol Flow

Directory discovery
  -> Account registration
  -> New order
  -> Authorization / challenge
  -> Domain-control validation
  -> CSR finalize
  -> Certificate download and deployment
  -> Renewal or revocation

Challenge Types

HTTP-01

DNS-01

TLS-ALPN-01

Certbot Examples

# HTTP-01: webroot
sudo certbot certonly --webroot -w /var/www/html -d example.com
 
# HTTP-01: temporary standalone server
sudo certbot certonly --standalone -d example.com
 
# DNS-01: manual wildcard test (interactive; hooks 없이는 자동 갱신 불가)
sudo certbot certonly --manual --preferred-challenges dns \
  --test-cert -d example.com -d '*.example.com'
 
# 기존 lineage의 renewal path를 staging CA로 검증
sudo certbot renew --dry-run
처음부터 production CA를 반복 호출하지 말고 –test-cert 또는 –staging, renew –dry-run으로 validation과 deployment hook을 검증한다. staging certificate는 browser가 신뢰하지 않으므로 운영 배포용이 아니다.

Selecting a Challenge

Security

Troubleshooting

Compatibility

See Also

History