Hi there,
I got the latest source code of Chromium and followed the steps of the link:
https://www.chromium.org/quic/playing-with-quic. I got quic_server and quic_client succesfully. However, I also got the following ERROR when I tried to connect from client to server.
[0922/075928:ERROR:cert_verify_proc_nss.cc(922)] CERT_PKIXVerifyCert for 127.0.0.1 failed err=-8179
[0922/075928:WARNING:proof_verifier_chromium.cc(286)] Failed to verify certificate chain: net::ERR_CERT_AUTHORITY_INVALID
I believe I had installed CA certificate in the system(Ubuntu 14.04) by the following commands.
1. cp net/tools/quic/certs/out/2048-sha256-root.pem /usr/local/share/ca-certificates/2048-sha256-root.crt
2. sudo update-ca-certificates
I also tried to add CA certificate in the default nssdb in the path of "~/.pki/nssdb" by the following command.
1. certutil -d sql:$HOME/.pki/nssdb -A -t TC -n "www.example.com" -i net/tools/quic/certs/out/2048-sha256-root.pem
Is there any important step that i missed or something is wrong with my operation?
./out/Debug/quic_server \ --quic_in_memory_cache_dir=/tmp/quic-data/www.example.com \ --certificate_file=net/tools/quic/certs/out/leaf_cert/cert.pem \ --key_file=net/tools/quic/certs/out/leaf_cert/key.pkcs8
There is no path "net/tools/quic/certs/out/leaf_cert/" which is created by "generate-certs.sh".
Thanks!
Boling