- 서버 환경
Ubuntu 18.04
# apachectl -v
Server version: Apache/2.4.29 (Ubuntu)
# php -v
PHP 7.2.24-0ubuntu0.18.04.7 (cli) (built: Oct 7 2020 15:24:25) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.24-0ubuntu0.18.04.7, Copyright (c) 1999-2018, by Zend Technologies
# mysql -V
mysql Ver 14.14 Distrib 5.7.32, for Linux (x86_64) using EditLine wrapper
- 도메인 연결
- certbot 설치
# apt-get install -y certbot openssl
- 인증서 발급
# certbot certonly --webroot --server 'https://api.buypass.com/acme/directory' -m 관리자메일주소 -w 홈소스경로 -d 도메인1 -d 도메인2
- 인증서 적용 후 SSL 접근
'Ubuntu' 카테고리의 다른 글
[Mint] 싱글모드 부팅 (0) | 2021.03.17 |
---|---|
Zabbix 설치 (0) | 2021.01.14 |
패키지 및 버전 확인법 (0) | 2020.09.27 |