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 !
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 !