In LSWS 5.4 i have enabled multi-SSL certificates
443 port listener has
in
httpd_config.xml
set with <sslEnableMultiCerts>1</sslEnableMultiCerts>
Code:
<tuning>
<eventDispatcher>best</eventDispatcher>
<maxConnections>100000</maxConnections>
<maxSSLConnections>100000</maxSSLConnections>
<connTimeout>300</connTimeout>
<maxKeepAliveReq>10000</maxKeepAliveReq>
<smartKeepAlive>0</smartKeepAlive>
<keepAliveTimeout>5</keepAliveTimeout>
<sndBufSize>0</sndBufSize>
<rcvBufSize>0</rcvBufSize>
<maxReqURLLen>8192</maxReqURLLen>
<maxReqHeaderSize>16380</maxReqHeaderSize>
<maxReqBodySize>500M</maxReqBodySize>
<maxDynRespHeaderSize>8K</maxDynRespHeaderSize>
<maxDynRespSize>500M</maxDynRespSize>
<maxCachedFileSize>4096</maxCachedFileSize>
<totalInMemCacheSize>20M</totalInMemCacheSize>
<maxMMapFileSize>256K</maxMMapFileSize>
<totalMMapCacheSize>40M</totalMMapCacheSize>
<useSendfile>1</useSendfile>
<useAIO>1</useAIO>
<AIOBlockSize>4</AIOBlockSize>
<enableGzipCompress>1</enableGzipCompress>
<enableDynGzipCompress>1</enableDynGzipCompress>
<gzipCompressLevel>1</gzipCompressLevel>
<compressibleTypes>text/*,application/x-javascript,application/javascript,application/xml,image/svg+xml,application/rss+xml</compressibleTypes>
<gzipAutoUpdateStatic>1</gzipAutoUpdateStatic>
<gzipStaticCompressLevel>6</gzipStaticCompressLevel>
<gzipMaxFileSize>1M</gzipMaxFileSize>
<gzipMinFileSize>300</gzipMinFileSize>
<SSLCryptoDevice>null</SSLCryptoDevice>
<sslEnableMultiCerts>1</sslEnableMultiCerts>
</tuning>
Code:
<listener>
<name>HTTPS</name>
<address>*:443</address>
<reusePort>1</reusePort>
<binding></binding>
<secure>1</secure>
<vhostMapList>
<vhostMap>
<vhost>Example</vhost>
<domain>*</domain>
</vhostMap>
</vhostMapList>
<keyFile>/etc/ssl/server.key</keyFile>
<certFile>/etc/ssl/server.crt</certFile>
</listener>
/etc/ssl
there's- -
/etc/ssl/server.crt
- -
/etc/ssl/server.key
- -
/etc/ssl/server.crt.ecc
- -
/etc/ssl/server.key.ecc
Code:
h2load -t1 -c1 -n10 --ciphers=ECDHE-RSA-AES128-GCM-SHA256 https://ipaddr/
starting benchmark...
spawning thread #0: 1 total client(s). 10 total requests
finished in 477us, 0.00 req/s, 0B/s
requests: 10 total, 0 started, 0 done, 0 succeeded, 10 failed, 10 errored, 0 timeout
status codes: 0 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 0B (0) total, 0B (0) headers (space savings 0.00%), 0B (0) data
min max mean sd +/- sd
time for request: 0us 0us 0us 0us 0.00%
time for connect: 0us 0us 0us 0us 0.00%
time to 1st byte: 0us 0us 0us 0us 0.00%
req/s : 0.00 0.00 0.00 0.00 100.00%
Code:
h2load -t1 -c1 -n10 --ciphers=ECDHE-ECDSA-AES128-GCM-SHA256 https://ipaddr/
starting benchmark...
spawning thread #0: 1 total client(s). 10 total requests
TLS Protocol: TLSv1.2
Cipher: ECDHE-ECDSA-AES128-GCM-SHA256
Server Temp Key: ECDH P-256 256 bits
No protocol negotiated. Fallback behaviour may be activated
Server does not support NPN/ALPN. Falling back to HTTP/1.1.
Application protocol: http/1.1
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done
finished in 20us, 500000.00 req/s, 645.16MB/s
requests: 10 total, 10 started, 10 done, 10 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 10 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 13.21KB (13530) total, 2.69KB (2750) headers (space savings 0.00%), 9.99KB (10230) data
min max mean sd +/- sd
time for request: 47us 188us 77us 42us 90.00%
time for connect: 2.87ms 2.87ms 2.87ms 0us 100.00%
time to 1st byte: 3.06ms 3.06ms 3.06ms 0us 100.00%
req/s : 2680.71 2680.71 2680.71 0.00 100.00%
Last edited by a moderator: