| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- 트랜잭션
- orm
- 자바
- SonarQube
- npm
- ElasticSearch
- 아파치
- Apach
- springboot
- mybatis
- sql
- 시스템운영
- spring
- DB
- mysql
- nodejs
- heap메모리
- Bitbucket
- Java
- Stash
- JVM
- 리눅스
- 레드마인
- 스프링
- Gradle
- Elk
- 마이바티스
- slave node
- Git
- 엘라스틱서치
Archives
- Today
- Total
프로그래머호이잇
(Centos) 아파치 인증서 설정 방법 본문
mkdir /ssh_key
인증서 파일을 /ssh_key 로 이동!
그후
chown -R root:root /ssh_key
chmod -R 777 /ssh_key
혹시 /etc/httpd/conf.d/ssl.conf 파일이 있다면
mv /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf_bk
vi /etc/httpd/conf/httpd.conf
맨아래 요렇게 추가!!
Listen 443
<VirtualHost *:443>
SSLEngine on
SSLCertificateKeyFile /ssh_key/파일명.key.pem
SSLCertificateFile /ssh_key/파일명.crt.pem
SSLCertificateChainFile /ssh_key/파일명.pem
SSLCACertificateFile /ssh_key/파일명.crt
</VirtualHost>
작업을 하기전에 꼭 mod_ssl 이 설치 되었는지 확인하고 작업해야됩니다!!
미설치시
yum search mod_ssl
yum install mod_ssl
'시스템운영' 카테고리의 다른 글
| 아파치 Proxy 설정 시 특정 URI 제거 방법 (0) | 2019.12.31 |
|---|---|
| 아파치 reverse proxy 설정 방법 (0) | 2019.12.30 |
| 아파치 http -> https 리다이렉트 방법 (0) | 2017.09.28 |
| redmine context 추가 방법 (1) | 2017.09.27 |
| redmine thin 실행 (0) | 2017.09.27 |