OpenLDAP通配符证书安装

发布于 2025-01-22 19:15:45 字数 997 浏览 4 评论 0原文

我有一个运行OpenLDAP的Ubuntu服务器可以连接到我们的手机。

不久前,我将其设置为与Letsencrypt一起使用LDAP,直到最近他们进行了更改Ref X3 CERT。我无法安装足够晚的版本,因此我可以运行 - 偏爱的链” ISRG root X1,并且不能将snap版本用作lcx上的box ix,而不会运行它。

该公司现在已经购买了Digi Cert Wild Card证书并希望在LDAP服务器上使用它,但是我无法加载

我创建的要导入的原始LDIF文件,而域名则更改了域名

dn: cn=config
add: olcTLSCACertificateFile
olcTLSCACertificateFile: /etc/letsencrypt/live/directory.mydomain.co.uk/fullchain.pem
-
add: olcTLSCertificateFile
olcTLSCertificateFile: /etc/letsencrypt/live/test-directory.mydomain.co.uk/cert.pem
-
add: olcTLSCertificateKeyFile
olcTLSCertificateKeyFile: /etc/letsencrypt/live/test-directory.mydomain.co.uk/privkey.pem

。命令,这只是没有它,并且似乎不断获得下面的

SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn=config"
ldap_modify: Inappropriate matching (18)
additional info: modify/add: olcTLSCACertificateFile: no equality matching rule

建议。

I have an ubuntu server running openldap to connect to our phones.

A while back I set this to use ldaps with letsencrypt which has worked fine with most things until recently they made a change ref the X3 cert. I am unable to install a late enough version so I can run the --preferred-chain "ISRG ROOT X1 and can't use the snap version as the box ix on lcx and wont run it.

The company has now bought a digi cert wild card certificate and would like this to be on the ldap server, but I can't get it to load the config

The original ldif file I created to import is below with the domain name changed.

dn: cn=config
add: olcTLSCACertificateFile
olcTLSCACertificateFile: /etc/letsencrypt/live/directory.mydomain.co.uk/fullchain.pem
-
add: olcTLSCertificateFile
olcTLSCertificateFile: /etc/letsencrypt/live/test-directory.mydomain.co.uk/cert.pem
-
add: olcTLSCertificateKeyFile
olcTLSCertificateKeyFile: /etc/letsencrypt/live/test-directory.mydomain.co.uk/privkey.pem

I have tried to change the file with modify commands and it's just wont have it and seem to keep getting the below.

SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn=config"
ldap_modify: Inappropriate matching (18)
additional info: modify/add: olcTLSCACertificateFile: no equality matching rule

Any advise here would be great thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

仙女山的月亮 2025-01-29 19:15:45

我建议检查LDIF的内容是否有特殊的非预期字符。喜欢:$ sudo cat -tve *.ldif?

I propose to check the contents of the ldif for special not intended characters. Like: $sudo cat -tve *.ldif?

木槿暧夏七纪年 2025-01-29 19:15:45

您必须用“替换”更改配置LDIF中的“添加”语句。

You have to change your “add” statements in your config ldif with “replace”.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文