Closed tottoto closed 2 weeks ago
I would think that Certificate
interface cannot be removed to support PEM encoded certificate file.
Well, the caller would rely on rustls-pemfile so it's one less mandatory dependency to carry within tonic.
Considering rustls-pemfile
has major version release, I would think it would be acceptable to depend on the crate for the purpose of easiness to use.
Added a method to add multiple ca certificates at once, which is useful when having some sets of certificates.
Resolves #1629.