Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Do we have a complete example #110

Open
szguoxz opened this issue Mar 14, 2023 · 4 comments
Open

Do we have a complete example #110

szguoxz opened this issue Mar 14, 2023 · 4 comments

Comments

@szguoxz
Copy link

szguoxz commented Mar 14, 2023

I am using quinn, want to do the basic things:

  1. generate a self-signed CA for server to use.
  2. sign a certificate for the client to use.
  3. Do we need to generate and seign a certificate for the server to use?

now we only have 1 example for 1. Can't find a complete example for #2 or #3..

@Kerwood
Copy link

Kerwood commented Mar 24, 2023

I more examples on using this library would be very nice.
I'm currently searching around to figure out how to create a certificate pair with an existing CA.

Please add more examples on how to use this library.

@djc
Copy link
Member

djc commented Aug 25, 2023

There's a minimal example in https://github.com/djc/sign-cert-remote from back when I first implemented CSR support.

@iamjpotts
Copy link
Contributor

I built an example here - #99 - but it became larger in scope than rcgen.

@jamesmunns
Copy link

I also built an example (somewhat abusing rustls-cert-gen, PRs welcome) that might be minimal enough to be useful:

https://github.com/OneVariable/rustls-self-signed-demo

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants