mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
[TLS] Add support for platform-specific CA bundles.
Adds a new OS::get_system_ca_certs method which can be implemented by
platforms to retrieve the list of trusted CA certificates using OS
specific APIs.
The function should return the certificates in PEM format, and is
currently implemented for Windows/macOS/LinuxBSD(*)/Android.
mbedTLS will fall back to bundled certificates when the OS returns no
certificates.
(*) LinuxBSD does not have a standardized certificates store location.
The current implementation will test for common locations and may
return an empty string on some distributions (falling back to the
bundled certificates).
This commit is contained in:
parent
4e1d5be9d3
commit
6fd9982358
17 changed files with 180 additions and 13 deletions
|
|
@ -235,6 +235,8 @@ def configure(env: "Environment"):
|
|||
"CoreMedia",
|
||||
"-framework",
|
||||
"QuartzCore",
|
||||
"-framework",
|
||||
"Security",
|
||||
]
|
||||
)
|
||||
env.Append(LIBS=["pthread", "z"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue