跳转到内容

为应对本站因各种原因无法访问,建议用户安装 arch-wiki-docs-zh-cnCNRepo 或者 arch-wiki-docs-zh-twCNRepo 离线文档包备用,也可尝试使用经由Cloudflare CDN的替代版本aw.lilydjwg.me。

GnuTLS

来自 Arch Linux 中文维基

本文或本节内容已经过时。

原因: 翻译已过期 (在Talk:GnuTLS讨论)

根据 Wikipedia:

GnuTLS (the GNU Transport Layer Security Library) is a free software implementation of the TLS, SSL and DTLS protocols. It offers an application programming interface (API) for applications to enable secure communication over the network transport layer, as well as interfaces to access X.509, PKCS #12, OpenPGP and other structures.

安装 gnutls包 包。

要与 Apache HTTP Server 集成,请安装 mod_gnutls。

有关以下各节中使用的命令,请参见 certtool(1);有关 API 文档,请参见信息文档。

生成 RSA 私钥

[编辑 | 编辑源代码]
$ certtool -p --rsa --bits=keysize

生成证书签名请求

[编辑 | 编辑源代码]
$ certtool -q --load-privkey private_key --outfile file

生成自签名证书

[编辑 | 编辑源代码]
$ certtool -s --load-privkey private_key --outfile file

另请参见

[编辑 | 编辑源代码]