Contents

Views 790 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

0. selinux가 활성화상태인지 확인한다. 활성화상태라면 비활성화하여야 한다.
vi /etc/selinux/config 한 후

SELINUX=disabled

라면 비활성화 상태이다.

 

1. yum install mod_ssl 하여  mod_ssl을 인스톨한다.
=> httpd가 인스톨되어있지 않았을 경우 자동 인스톨된다. 그러나 컴파일되어 인스톨되었다면 uninstall하여 yum으로 인스톨되도록 한다.
 

2. openssl 도 인스톨되어 있는지 확인하고 없으면 인스톨한다.
확인 : yum list installed | grep openssl
인스톨 : yum install openssl

 

3. 공개키, 개인키, 싸인을 생성한다.
# Generate private key 
openssl genrsa -out ca.key 1024

# Generate CSR 
openssl req -new -key ca.key -out ca.csr

# Generate Self Signed Key
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt

 

4.생성된 키파일들을 지정된 위치에 옮긴다.
# Move the files to the correct locations
mv ca.crt /etc/pki/tls/certs
mv ca.key /etc/pki/tls/private/ca.key
mv ca.csr /etc/pki/tls/private/ca.csr

 

5. vi +/SSLCertificateFile /etc/httpd/conf.d/ssl.conf 한 후에,
SSLCertificateFile 항목과 SSLCertificateKeyFile항목을 아래와 같이 설정한다.
SSLCertificateKeyFile /etc/pki/tls/private/ca.key

SSLCertificateFile /etc/pki/tls/certs/ca.crt

 

6. httpd 서비스를 새로 시작한다.
/etc/init.d/httpd restart 


?

List of Articles
No. Category Subject Author Date Views
325 Develop [ios] 로컬에 있는 JS 파일 웹뷰에서 동적으로 실행하기 hooni 2015.02.10 958
324 Develop [ios] 문자열로 함수 실행하기 (eval 함수처럼) hooni 2015.02.10 860
323 Develop [ios] 미스터피자(Mr.pizza) 어플 file hooni 2013.04.23 42633
322 Develop [ios] 배열(NSArray) 연산과 간단한 애니메이션(split images) hooni 2013.10.31 45453
321 Develop [ios] 비동기 블럭 코드 예제 hooni 2014.11.21 825
320 Develop [ios] 비디오,네트워크,소셜로그인 테스트 file hooni 2017.04.04 694
319 Develop [ios] 상위 ViewController 가져오기 hooni 2015.10.12 960
318 Develop [ios] 새로 만들고 있는 DateMemo file hooni 2016.07.12 608
317 Develop [ios] 설정에서 푸시 알림(APNS) on/off 상태 확인 hooni 2015.04.28 2049
316 Develop [ios] 소소한 팁 (Rect,Point,Path,URL 등) hooni 2013.08.08 29457
315 Develop [ios] 스크린 캡쳐 (전원버튼 + 홈버튼) 호출 알아내기 hooni 2014.11.19 1558
314 Develop [ios] 스터디 자료 (from 종길M) secret hooni 2013.06.04 0
Board Pagination Prev 1 ... 39 40 41 42 43 44 45 46 47 48 ... 71 Next
/ 71