sslhash:没有证书颁发机构的SSL

时间:2021-04-26 14:07:55
【文件属性】:
文件名称:sslhash:没有证书颁发机构的SSL
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-26 14:07:55
Rust sslhash 没有证书颁发机构的SSL。 为什么? 您是否曾经想在非HTTP TCP流上使用TLS? 如果是,您将意识到设置证书非常复杂。 并非所有IP都具有域! sslhash基本上跳过了主机名检查,而是将其与用户提供的公用密钥哈希进行比较。 这将利用SSL的优点(安全性,已审核等),并消除SSL的缺点(证书颁发机构)。 用法 服务器: // Create a builder. // Default values: // - RSA bits: 3072 // - Cache directory: The same directory as the executable let (acceptor, hash) = AcceptorBuilder :: default (). build (). unwrap (); // Replace "localhost:1234" wi
【文件预览】:
sslhash-master
----Cargo.toml(263B)
----src()
--------lib.rs(6KB)
----LICENSE(1KB)
----README.md(2KB)
----tests()
--------main.rs(2KB)
----.gitignore(32B)

网友评论