You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like configuration map stored in ets table doesn't have tls_keyfile, tls_certfile nor tls_cacertfile elements. As a result the ssl:connect is invoked without certificates because nkpacket_tls:make_outbound_opts is unable to retrieve them from registered record. I am not sure where exactly it is removed. I looked at nkpacket_transport_tcp:init where configuration is inserted into the ets table. The mechanism doesn't include tls specific keys, but the whole algorithm looks the same as for v0.6.1 version and this version seems to work.
It seems that the version v0.5.0 of nksip also doesn't have this working. A solution would be to extend ConnMetaOpts variable used in nkpacket_transport_tcp:init with the following elements:
ConnMetaOpts = [tcp_packet, tls_certfile, tls_keyfile, tls_cacertfile, tls_verify | ?CONN_LISTEN_OPTS],
The text was updated successfully, but these errors were encountered:
It looks like configuration map stored in ets table doesn't have tls_keyfile, tls_certfile nor tls_cacertfile elements. As a result the ssl:connect is invoked without certificates because nkpacket_tls:make_outbound_opts is unable to retrieve them from registered record. I am not sure where exactly it is removed. I looked at nkpacket_transport_tcp:init where configuration is inserted into the ets table. The mechanism doesn't include tls specific keys, but the whole algorithm looks the same as for v0.6.1 version and this version seems to work.
It seems that the version v0.5.0 of nksip also doesn't have this working. A solution would be to extend ConnMetaOpts variable used in nkpacket_transport_tcp:init with the following elements:
ConnMetaOpts = [tcp_packet, tls_certfile, tls_keyfile, tls_cacertfile, tls_verify | ?CONN_LISTEN_OPTS],
The text was updated successfully, but these errors were encountered: