How to add several custom CA certificate #2355
-
Hi.
|
Beta Was this translation helpful? Give feedback.
Answered by
seanmonstar
Jul 15, 2024
Replies: 1 comment
-
Looking at native-tls docs, it seems you can only add one root at a time. So, You'd need to call for cert in root_certs {
builder = builder.add_root_certificate(cert);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oyljerry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at native-tls docs, it seems you can only add one root at a time. So, You'd need to call
add_root_certificate(cert)
in a loop. Perhaps something like this: