Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在haproxy上设置ssl_Ssl_Haproxy - Fatal编程技术网

在haproxy上设置ssl

在haproxy上设置ssl,ssl,haproxy,Ssl,Haproxy,我已经有其他人在ubuntu上安装了haproxy。但是,看起来它没有配置ssl haproxy --v HA-Proxy version 1.5.15 2015/11/01 Copyright 2000-2015 Willy Tarreau <willy@haproxy.org> Build options : TARGET = CPU = generic CC = gcc CFLAGS = -O2 -g -fno-strict-alia

我已经有其他人在ubuntu上安装了haproxy。但是,看起来它没有配置ssl

haproxy --v

HA-Proxy version 1.5.15 2015/11/01
Copyright 2000-2015 Willy Tarreau <willy@haproxy.org>

Build options :
  TARGET  = 
  CPU     = generic
  CC      = gcc
  CFLAGS  = -O2 -g -fno-strict-aliasing
  OPTIONS = USE_POLL=default

Default settings :
  maxconn = 2000, bufsize = 16384, maxrewrite = 8192, maxpollevents = 200

Encrypted password support via crypt(3): no
Built without zlib support (USE_ZLIB not set)
Compression algorithms supported : identity
Built without OpenSSL support (USE_OPENSSL not set)
Built without PCRE support (using libc's regex instead)
Built with transparent proxy support using: IP_TRANSPARENT IP_FREEBIND

Available polling systems :
       poll : pref=200,  test result OK
     select : pref=150,  test result OK
Total: 2 (2 usable), will use poll.
有人知道如何设置ssl吗?我需要重新安装吗?如果是,请有人给我提供一些链接,说明如何使用open_ssl设置安装haproxy


谢谢。

使用\u OPENSSL=yes从源代码重新构建并重新安装haproxy

git clone http://git.haproxy.org/?p=haproxy-1.6.git
cd haproxy-1.6
make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
make install

从源代码重新生成并重新安装haproxy,并使用\u OPENSSL=yes

git clone http://git.haproxy.org/?p=haproxy-1.6.git
cd haproxy-1.6
make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1
make install

其他选项是启用haproxy 1.6 ppa:

sudo add-apt-repository ppa:vbernat/haproxy-1.6

sudo apt-get update

sudo apt-get install haproxy

其他选项是启用haproxy 1.6 ppa:

sudo add-apt-repository ppa:vbernat/haproxy-1.6

sudo apt-get update

sudo apt-get install haproxy

谢谢你的回复。我想我必须在新的源代码上运行make和install。我需要先卸载任何东西吗?不需要卸载。安装应覆盖现有的二进制文件。请在收到您的回复后与haproxy-v确认。我想我必须在新的源代码上运行make和install。我需要先卸载任何东西吗?不需要卸载。安装应覆盖现有的二进制文件。只需使用haproxy-v afterFor Debian/Ubuntu验证一下,所有主要版本都有维护和更新的软件包。请参阅Debian/Ubuntu,所有主要版本都有维护和更新的软件包。看见