Skip to content

How to create a certificate for server? #3335

Answered by 406345
406345 asked this question in Q&A
Discussion options

You must be logged in to vote

Solved~~~my mistake...I did not initialize QUIC_CREDENTIAL_CONFIG and maybe some fields are invalid value.

self-signed certificate can generate by:

openssl genrsa -out ca.key 2048 openssl req -new -key ca.key -out ca.csr openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nibanks
Comment options

nibanks Jan 7, 2023
Collaborator

Answer selected by 406345
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants