haproxy:ssl
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
haproxy:ssl [2016/03/08 08:03] – 作成 clownclown | haproxy:ssl [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 3: | 行 3: | ||
※Ver1.5以降でSSL正式サポート(要ソースからインストール) | ※Ver1.5以降でSSL正式サポート(要ソースからインストール) | ||
+ | ===== SSL有効化 ===== | ||
+ | ビルド時にspecファイルを編集してオプションを設定する | ||
+ | < | ||
+ | # cp -r ./ | ||
+ | # vi ./ | ||
+ | 36c36 | ||
+ | < %{__make} USE_PCRE=1 DEBUG="" | ||
+ | --- | ||
+ | > %{__make} USE_PCRE=1 DEBUG="" | ||
+ | </ | ||
+ | |||
+ | ===== 確認 ===== | ||
+ | インストール後にhaproxyの詳細情報からOpenSSLが有効になっていることを確認 | ||
+ | < | ||
+ | # haproxy -vv | ||
+ | HA-Proxy version 1.6.5 2016/05/10 | ||
+ | Copyright 2000-2016 Willy Tarreau < | ||
+ | |||
+ | Build options : | ||
+ | TARGET | ||
+ | CPU = generic | ||
+ | CC = gcc | ||
+ | CFLAGS | ||
+ | OPTIONS = USE_OPENSSL=1 USE_PCRE=1 | ||
+ | |||
+ | Default settings : | ||
+ | maxconn = 2000, bufsize = 16384, maxrewrite = 1024, maxpollevents = 200 | ||
+ | |||
+ | Encrypted password support via crypt(3): yes | ||
+ | Built without compression support (neither USE_ZLIB nor USE_SLZ are set) | ||
+ | Compression algorithms supported : identity(" | ||
+ | Built with OpenSSL version : OpenSSL 1.0.1e-fips 11 Feb 2013 | ||
+ | Running on OpenSSL version : OpenSSL 1.0.1e-fips 11 Feb 2013 | ||
+ | OpenSSL library supports TLS extensions : yes | ||
+ | OpenSSL library supports SNI : yes | ||
+ | OpenSSL library supports prefer-server-ciphers : yes | ||
+ | Built with PCRE version : 7.8 2008-09-05 | ||
+ | PCRE library supports JIT : no (USE_PCRE_JIT not set) | ||
+ | Built without Lua support | ||
+ | Built with transparent proxy support using: IP_TRANSPARENT IP_FREEBIND | ||
+ | |||
+ | Available polling systems : | ||
+ | epoll : pref=300, | ||
+ | poll : pref=200, | ||
+ | | ||
+ | Total: 3 (3 usable), will use epoll. | ||
+ | </ | ||
+ | |||
+ | ===== 設定例 ===== | ||
< | < | ||
frontend | frontend |
haproxy/ssl.1457424204.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)