systemtruststores / systemtruststores.github.io

Website
0 stars 0 forks source link

C networking libraries #16

Open chriskilding opened 2 years ago

chriskilding commented 2 years ago

Some language stacks (or extensions, like Ruby gems) use well-known C networking libraries to do some types of TLS connections:

The libraries often use OpenSSL (or similar) to handle the TLS bit of what they do.

Basically, getting these to work with the OS native trust store is a case of:

  1. Building <library> with a (Secure Transport | schannel | whatever) backend instead of OpenSSL
  2. Building the language SDK or runtime using this version of <library>

The dependent code (e.g. Ruby gem) must take care to use a version of <library> with the right native TLS backend for each supported operating system. It could either compile <library> itself in its build process, or use a precompiled one provided by the OS.