새 haproxy를 ssl (1.5-dev12)과 함께 사용하려고합니다. 하지만이 새로운 기능에 오류가 있습니다.SSL을 사용하는 Haproxy가 작동하지 않습니다.
내가 함께 설치했습니다
make TARGET=linux2632 USE_OPENSSL=yes
make PREFIX=/opt/haproxy-ssl install
하지만 내 설정 파일을 확인할 때,이 오류했습니다 :
[ALERT] 275/135959 (10998) : parsing [/opt/haproxy-ssl/haproxy.conf:31] : 'bind' : 'ssl' option not implemented. [ALERT] 275/135959 (10998) : parsing [/opt/haproxy-ssl/haproxy.conf:69] : 'server' expects and [:] as arguments. [ALERT] 275/135959 (10998) : Error(s) found in configuration file : /opt/haproxy-ssl/haproxy.conf [WARNING] 275/135959 (10998) : Proxy 'ha_stats': in multi-process mode, stats will be limited to process assigned to the current request. [WARNING] 275/135959 (10998) : stats socket will not work correctly in multi-process mode (nbproc > 1). [ALERT] 275/135959 (10998) : Fatal errors found in configuration.
그리고 haproxy -vv 명령 반환 :
을HA-Proxy version 1.5-dev12 2012/09/10 Built without OpenSSL support (USE_OPENSSL not set)
설치하는 동안 아무런 오류가 없지만 openssl이 설정되지 않은 이유를 모르겠습니다.
OS : 데비안 2.6.32-5 - 젠 - AMD64 은 OpenSSL : 2010
0.9.8o 6월 1일 OpenSSL을 당신은 생각을 가지고 있습니까? 의 설치로 해결
:
UPDATE
감사
libssl-dev
그리고, 새로운 메이크업 대상, 새 접두사와 그 작동합니다.
문제를 재현하려고 시도했지만 haproxy를 컴파일 할 때 작동했습니다. 그건 오타예요? 나는 다음 명령을 사용했다.'make TARGET = linux2628 USE_OPENSSL = 1'. 'USE_OPNSSL' 대신에 목표와'USE_OPENSSL'의 변경을 주목하십시오, 그러나 YMMV. –