Under The Sea

apache ssl 인증서 설치 본문

IT

apache ssl 인증서 설치

브로콜리's 2017.10.03 18:12
1. apache configure 과정에서 ssl 버전 문제 발생시
[ec2-user@ip-172-31-16-251 ~]$ sudo ./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --enable-module=so --enable-rewrite --with-mpm=worker --enable-ssl --enable-so
- ssl Update 후 aphache configure
[ec2-user@ip-172-31-16-251 ~]$ sudo yum install openssl-devel
[ec2-user@ip-172-31-16-251 ~]$ sudo yum update openssl
2. ssl 설치
[ec2-user@ip-172-31-16-251 ~]$ yum -y install mod_ssl
[ec2-user@ip-172-31-16-251 ~]$ yum -y install openssl
3. apache 환경 설정
[ec2-user@ip-172-31-16-251 tmp]$ sudo vim /usr/local/apache2/conf/httpd.conf

Listen 172.31.16.251:80
Listen 172.31.16.251:443


SSLRandomSeed startup builtin
SSLRandomSeed connect builtin


include conf/mod_jk.conf


DocumentRoot /usr/local/apache2/htdocs
ServerName www.MyDomain.com
JkMount /* ajp13

SSLEngine on
SSLCertificateKeyFile /usr/local/apache2/cert/www.MyDomain.com.key.pem
SSLCertificateFile /usr/local/apache2/cert/www.MyDomain.com.crt.pem
SSLCACertificateFile /usr/local/apache2/cert/RootChain/AddTrustExternalCARoot.crt

'IT' 카테고리의 다른 글

apache ssl 인증서 설치  (0) 2017.10.03
apache - tomcat 연동 mod_jk  (0) 2017.10.03
리눅스 아파치 설치  (0) 2017.10.03
정규식  (0) 2017.07.11
Oracle 11g Express Edition 설치하기  (0) 2017.07.07
Oracle DB 생성  (0) 2017.06.22
0 Comments
댓글쓰기 폼