tquic 如何保存skey文件 #302
Answered
by
xiaofei0800
lion117
asked this question in
Q&A (问题和回答)
-
背景
描述
|
Beta Was this translation helpful? Give feedback.
Answered by
xiaofei0800
Jul 3, 2024
Replies: 2 comments 1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
-
使用quic_tls_config_new_with_ssl_ctx接口,需要在SSL_CTX中通过SSL_CTX_set_keylog_callback设置相关key log回调。 可以在客户端侧使用quic_tls_config_new_client_config创建tls_config_t结构: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lion117
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用quic_tls_config_new_with_ssl_ctx接口,需要在SSL_CTX中通过SSL_CTX_set_keylog_callback设置相关key log回调。
可以在客户端侧使用quic_tls_config_new_client_config创建tls_config_t结构:
const char* const protos[1] = {"http/0.9"};
client->tls_config = quic_tls_config_new_client_config(protos, 1, true);