Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error when run server.go ! #54

Open
vanvantong opened this issue Dec 19, 2017 · 0 comments
Open

Error when run server.go ! #54

vanvantong opened this issue Dec 19, 2017 · 0 comments

Comments

@vanvantong
Copy link

vanvantong commented Dec 19, 2017

Hi,

I am a newbie about QUIC. I am studying about the way to create a server serve QUIC. I follow the instruction from https://github.com/devsisters/goquic.
I built the server.go successfully. I also generate a CA certificate which need to add to my OS's root certificate store in order for it to be trusted. I follow the instruction from https://www.chromium.org/quic/playing-with-quic to add the certificate. I run the server.go by command:

go run $GOPATH/src/github.com/devsisters/goquic/example/server.go -cert=/home/vantong/chromium/src/net/tools/quic/certs/out/leaf_cert.pem -key=/home/vantong/chromium/src/net/tools/quic/certs/out/leaf_cert.pkcs8 -quic_only -root=/home/vantong/Desktop/quic-data/www.example.org

And I got this error:
2017/12/19 14:20:21 About to listen on 127.0.0.1. Go to https://127.0.0.1:8080/
2017/12/19 14:20:21 tls: failed to find any PEM data in key input
exit status 1

Anybody know how to fix this?
Thank you in advance !

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

No branches or pull requests

1 participant