Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 41:08:21 |
Calls: | 631 |
Calls today: | 2 |
Files: | 1,187 |
D/L today: |
24 files (29,813K bytes) |
Messages: | 174,723 |
Am running 14.3-STABLE form a few weeks ago, and I would rather likeIs kern.ipc.tls.enable set non-zero on the system?
to get KTLS working with the openssl in base. I have got it working
with GnuTLS form post easily enough (enable in the global config file
and it just works). But am having problems in base.
My understanding is that the openssl in base is compiled with ktls
support. For reading around, it seems I do need to enable it by
adding KTLS to the 'Options' directive in things like Apache,
but this doesn't seem to work.
I also tried adding it to /etc/ssl/openssl.cnf
I am checking to see if its working by making a connection and
then checking the value of kern.ipc.tls.stats.offload_total to
see if it increases. It does with GnuTLS, but it does not when I
use openssl s_client
I believe its actually parsing my options, because if I make a
deliberate typo it rejects them.
This is what I did in openssl.cnf
[openssl_init]
providers = provider_sect
# Add KTLS to the options
ssl_conf = local_ssl_conf
[local_ssl_conf]
ktls = local_ktls_conf
[local_ktls_conf]
Options = KTLS
and this is what I did in Apache
SSLOpenSSLConfCmd Options SessionTicket,ServerPreference,KTLS
but so far, the offload_total remains stubbornly static.
anyone got any hints?
thanks!
-pete.
The call BIO_get_ktls_send() tests to see if it enabled, but shouldn't
need to be done to enable it.
Am running 14.3-STABLE form a few weeks ago, and I would rather like
to get KTLS working with the openssl in base. I have got it working
with GnuTLS form post easily enough (enable in the global config file
and it just works). But am having problems in base.
My understanding is that the openssl in base is compiled with ktlssupport. For reading around, it seems I do need to enable it by
adding KTLS to the 'Options' directive in things like Apache,
but this doesn't seem to work.
On 9/12/25 13:08, Pete French wrote:For amd64 and aarch64 it should be. For other arches, it won't be.
Am running 14.3-STABLE form a few weeks ago, and I would rather like
to get KTLS working with the openssl in base. I have got it working
with GnuTLS form post easily enough (enable in the global config file
and it just works). But am having problems in base.
My understanding is that the openssl in base is compiled with ktlssupport. For reading around, it seems I do need to enable it by
adding KTLS to the 'Options' directive in things like Apache,
but this doesn't seem to work.
just checking dumb things, ktls(4) man page states "OpenSSL in the base system includes KTLS support when built with WITH_OPENSSL_KTLS." I
don't think that's a default knob?
-pete>
--
Pete Wright
pete@nomadlogic.org
Am running 14.3-STABLE form a few weeks ago, and I would rather like
to get KTLS working with the openssl in base. I have got it working
with GnuTLS form post easily enough (enable in the global config file
and it just works). But am having problems in base.
My understanding is that the openssl in base is compiled with ktls
support. For reading around, it seems I do need to enable it by
adding KTLS to the 'Options' directive in things like Apache,
but this doesn't seem to work.
I also tried adding it to /etc/ssl/openssl.cnf
I am checking to see if its working by making a connection and
then checking the value of kern.ipc.tls.stats.offload_total to
see if it increases. It does with GnuTLS, but it does not when I
use openssl s_client
I believe its actually parsing my options, because if I make a
deliberate typo it rejects them.
This is what I did in openssl.cnf
[openssl_init]
providers = provider_sect
# Add KTLS to the options
ssl_conf = local_ssl_conf
[local_ssl_conf]
ktls = local_ktls_conf
[local_ktls_conf]
Options = KTLS
and this is what I did in Apache
SSLOpenSSLConfCmd Options SessionTicket,ServerPreference,KTLS
but so far, the offload_total remains stubbornly static.
anyone got any hints?
I also tried adding it to /etc/ssl/openssl.cnf...
I believe its actually parsing my options, because if I make a...
deliberate typo it rejects them.
This is what I did in openssl.cnf
[openssl_init]
providers = provider_sect
# Add KTLS to the options
ssl_conf = local_ssl_conf
[local_ssl_conf]
ktls = local_ktls_conf
[local_ktls_conf]
Options = KTLS
and this is what I did in Apache
SSLOpenSSLConfCmd Options SessionTicket,ServerPreference,KTLS