Skip to content

SSL 인증서 설치시 certbot-auto: command not found 문제. #74

@l2zeo

Description

@l2zeo

안녕하세요. 새로운 서버에 stack 버전 1.1.0 을 설치하고.
도메인을 연결하고 오픈한후에 SSL 인증서를 설치하는 과정에서 아래처럼 중지가 되어 문의 드립니다.

./ssl-install.sh --user=계정 --domain=도메인.house
## Let's Encrypt SSL 인증서 발급을 시작합니다.

  - 수정할 Nginx config      : /etc/nginx/conf.d/계정.conf

# nginx 설정 변경전, nginx 설정을 테스트합니다.
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

# nginx 설정 변경전, 하위 backups 디렉토리로 설정을 백업합니다.
‘/etc/nginx/conf.d/계정.conf’ -> ‘/etc/nginx/conf.d/backups/유저명_20200306_150008’

## [1/3] nginx - Let's Encrypt 인증용 디렉토리 접근 추가

    include /etc/letsencrypt/php79/well-known.conf;
# nginx 에 다음 설정이 이미 추가되었으므로 생략합니다.
    include /etc/letsencrypt/php79/well-known.conf


## [2/3] certbot-auto 로 SSL 인증서 발급 테스트후, 실제 인증서 발급

# 인증서 발급 테스트를 시작합니다. (--dry-run)
/root/stack/includes/function.inc.sh: line 55: certbot-auto: command not found
다음 명령이 실패하여, 설치가 중단되었습니다. (exit code: 127)
# certbot-auto certonly --webroot -w /var/www/letsencrypt/ -d 도메인.house -d www.도메인.house -m 메일@naver.com --agree-tos -n --dry-run

별다른게 없는데... 설치가 진행이 안되더라구요.

무슨 문제가 있는것인가요? 참고로 도메인은 "도메인.house" 가 맞습니다.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions