Certificate authority

Is there a rust library for performing the operations of a certificate authority? Can rustls do ca or is something else required? I am imagining something similar to dogtag pki in terms of functionality.

The openssl crate has what you need. There's even an example to get you started with regards to your specific question.

I know openssl (the original C library) gets a lot of grief, but I gotta say that if I ever want an example where a Rust wrapper does The Right Things(tm) [to fix a bunch of issues with the original API], the openssl crate is one of the examples I reach for.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.