如何为我的 ubuntu 服务器获取 Active Directory CA 证书

How to get Active Directory CA certificate for my ubuntu server

我知道我的 AD 服务器主机和端口,我想在我的 ubuntu 机器上安装 AD 服务器的 CA 证书。

如何从服务器检索 CA 证书?

这与从网站获取证书没有什么不同,因为初始 SSL 握手完全相同。您可以使用 here 的答案,但使用域名和端口 636(LDAPS 的默认端口):

openssl s_client -connect example.com:636 -showcerts

将 "example.com" 替换为您的域名。