OS 아파치 2.2.29 버젼에서 SSLProtocol 중 TLSv1.2로 설정
2019.02.27 23:38
아파치 2.2.29 버젼에서 SSLProtocol 중 TLSv1.2로 설정
/etc/httpd/conf.d/ssl.conf 파일에 아래와 같이 수정하고 재기동 하면 됩니다.
SSLProtocol -all +TLSv1.2
or
SSLProtocol -all +TLSv1.1 +TLSv1.2
아래 명령어로 아파치 버젼과 openssl 버젼을 확인을 해서 적용해야 됩니다. 해당 내용은 아래 참고
아파치 2.4 이상 및 openssl 1.0.1 이상이 권장사항 이라고 했는데 아파치 2.2.2X 이상에도 openssl 버젼이 맞으면 되는것 같다
2.2.15버젼에서는 +TLSv1.1 +TLSv1.2 옵션을 인식하지 못하기 때문에 에러가 난다
어쩔수 없이 아래와 같이 할수는 있으나 업그레이드를 권고한다
SSLProtocol all -SSLv2 -SSLv3 -TLSv1
apachectl -V
openssl version
OpenSSL 1.0.1s 1 Mar 2016
-------------------------------------------------------------------------------
Description: | Configure usable SSL protocol flavors |
---|---|
Syntax: | SSLProtocol [+|-]protocol ... |
Default: | SSLProtocol all |
Context: | server config, virtual host |
Override: | Options |
Status: | Extension |
Module: | mod_ssl |
This directive can be used to control the SSL protocol flavors mod_ssl should use when establishing its server environment. Clients then can only connect with one of the provided protocols.
The available (case-insensitive) protocols are:
SSLv2
This is the Secure Sockets Layer (SSL) protocol, version 2.0. It is the original SSL protocol as designed by Netscape Corporation. Though its use has been deprecated, because of weaknesses in the security of the protocol.
SSLv3
This is the Secure Sockets Layer (SSL) protocol, version 3.0, from the Netscape Corporation. It is the successor to SSLv2 and the predecessor to TLSv1. It's supported by almost all popular browsers.
TLSv1
This is the Transport Layer Security (TLS) protocol, version 1.0. It is the successor to SSLv3 and is defined in RFC 2246.
TLSv1.1
(when using OpenSSL 1.0.1 and later)A revision of the TLS 1.0 protocol, as defined in RFC 4346.
TLSv1.2
(when using OpenSSL 1.0.1 and later)A revision of the TLS 1.1 protocol, as defined in RFC 5246.
All
This is a shortcut for ``
+SSLv2 +SSLv3 +TLSv1
'' or - when using OpenSSL 1.0.1 and later - ``+SSLv2 +SSLv3 +TLSv1 +TLSv1.1 +TLSv1.2
'', respectively.
Example
# enable SSLv3 and all available TLSv1 flavors, but not SSLv2
SSLProtocol All -SSLv2
댓글 0
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
19 | Restore Database And Rename Database Files Example | 2019.03.26 | 77430 |
18 | HP-UX networking - 11.31 10G NIC | 2019.03.19 | 1234 |
17 | hpux cmsnmpd daemon 중지 | 2019.02.28 | 442 |
» | 아파치 2.2.29 버젼에서 SSLProtocol 중 TLSv1.2로 설정 | 2019.02.27 | 4555 |
15 | usage: raspistill [options] - Image parameter commands | 2018.11.16 | 1342 |
14 | hpux cron job 실행 에러 처리 방안 | 2018.07.06 | 717 |
13 | Parameters for Web Server Plug-Ins | 2018.05.10 | 2520 |
12 | SUN 솔라리스 보안취약점 조치 방안 | 2018.03.05 | 769 |
11 | hpux ndd tuning | 2018.02.28 | 1040 |
10 | UNIX,Linux Command 비교 | 2018.02.27 | 2742 |
9 | hpux 소프트웨어 설치및 제거 | 2018.02.27 | 636 |
8 | HPUX Trust Mode | 2018.02.21 | 1427 |
7 | Linux 보안및 성능향상을 위한 sysctl.conf 설정 | 2018.02.20 | 4362 |
6 | HP-UX 보안가이드라인 | 2018.02.14 | 1138 |
5 | [리눅스] 다른 서버에 있는 파일 가져오기(SCP 이용) | 2018.01.25 | 592 |
4 | /etc/xinetd.conf 설정 값 | 2017.11.09 | 274 |
3 |
command
![]() | 2017.11.01 | 1550 |
2 |
어플리케이션 보안
![]() | 2017.11.01 | 243 |
1 |
윈도우용 wget
![]() | 2017.09.28 | 4272 |