line / stellite

Stellite project is a client library and server application that offers an easy way to develop, build, and implement client/server running primarily over the QUIC protocol developed by Google as part of the Chromium project.
Apache License 2.0
475 stars 81 forks source link

Failed to parse the certificate #40

Closed bojin closed 7 years ago

bojin commented 7 years ago

I've built the stellite_quic_server_bin without any errors. But after that, the server doesn't want to start with the following error :

./stellite_quic_server_bin --quic_port=443 --worker_count=48 --proxy_pass=http://127.0.0.1:80 --keyfile=../../../test_tools/res/example.com.cert.key --certfile=../../../test_tools/res/example.com.cert.pem --logging --log_dir=/var/log/stellite --file_logging [0224/093027:INFO:stellite_quic_server_bin.cc(113)] quic server(443) start [0224/093027:ERROR:quic_proxy_server.cc(49)] Failed to parse the certificate

I've tested with several different certificate and the same errors occurs. And is it possible to build stellite with openssl instead of nss ?

snibug commented 7 years ago

@bojin certificate file must use pkcs8. it can convert using openssl command-line tool.

freakhill commented 7 years ago

closing for now :)