5

I need to create haproxy with tls , although its working successfully with ssl certificate , i have done below configuration

global log 127.0.0.1 local0 debug ssl-default-bind-options no-sslv3 2048 

Its giving below error , please suggest where should i change

[ALERT] 330/075452 (70779) : parsing [/etc/haproxy/haproxy.cfg:8] : unknown keyword 'ssl-default-bind-options' in 'global' section [ALERT] 330/075452 (70779) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg [WARNING] 330/075452 (70779) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear. [ALERT] 330/075452 (70779) : Fatal errors found in configuration. 
9
  • what version of haproxy are you using? Commented Nov 27, 2018 at 7:37
  • HA-Proxy version 1.5.4 2014/09/02 Commented Nov 27, 2018 at 7:38
  • i have also tried the same on haproxy version 1.6.9 Commented Nov 27, 2018 at 7:39
  • ssl-default-bind-options seems to have been implemented in 1.5.7, so no wonder it doesn't work with 1.5.4. It should work with 1.6.9 though. Commented Nov 27, 2018 at 7:44
  • hm ... seems I misread that news entry. It doesn't say that the option was implemented with that version. Sorry about that. Commented Nov 27, 2018 at 7:53

2 Answers 2

10

Try:

global log 127.0.0.1 local0 debug ssl-default-bind-options no-sslv3 tune.ssl.default-dh-param 2048 
-1

Same question. But I do this.

[root@ops ~]# haproxy -vv | grep OpenSSL Built without OpenSSL support (USE_OPENSSL not set) 

So, need remake haproxy and reinstall it.

tar -zxvf haproxy***.tar.gz yum install openssl openssl-devel pcre pcre-devel gcc -y make USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 make install 

then

haproxy check 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.