Skip to content
Discussion options

You must be logged in to vote

You are not feeding the key file, you are feeding a string with the file name. Please read the docs and do as the docs instruct; we do not do what you are doing in any of our examples or docs, and specifically, the doc I linked for you yesterday, has a section named "How-to-load-credentials" https://mongoose.ws/documentation/tutorials/tls/#how-to-load-credentials that shows how you have to do that,
thing that you're not doing properly

BTW, generate.sh does not create .pem but .crt files; you're free to change the name but please do not modify the generated files

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@scaprile
Comment options

Answer selected by scaprile
@vballdrummer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants