SSL 证书在连接时过期 [英] SSL Certificate expires while connected

查看:39
本文介绍了SSL 证书在连接时过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,只是一个简单的问题.

Hey everyone just a quick question.

假设我通过 SSL 连接到服务器.现在说当我连接时证书过期.连接会关闭还是什么都不会发生?

Lets say I am connected to a server with a SSL connection. Now say while I am connected the Certificate expires. Will the connection close or is nothing going to happen at all?

我认为什么都不会发生,但我不是 100% 确定.

I would think that nothing will happen at all but I'm not 100 % sure.

推荐答案

这取决于客户端的实现.

It depends on the client implementation.

但是,连接可能会保持活动状态,因为在 TLS/SSL 握手期间会检查证书的有效性,这会在会话开始时打开连接时发生一次.

However, the connection will likely remain active as the validity of the certificate is checked during the TLS/SSL handshake, which happens once at the beginning of the session when the connection is opened.

这篇关于SSL 证书在连接时过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆