密钥发行中心(KDC)找不到相应的证书用于智能卡登录,或者无法验证 KDC 证书。如果不解决该问题,智能卡登录可能不会正常工作。若要更正该问题,请使用 certutil.exe 验证现有的 KDC 证书或注册新的 KDC 证书。

密钥发行中心(KDC)找不到相应的证书用于智能卡登录,或者无法验证 KDC 证书。如果不解决该问题,智能卡登录可能不会正常工作。若要更正该问题,请使用 certutil.exe 验证现有的 KDC 证书或注册新的 KDC 证书。

 

参考windows 联机帮助解决。不过是英文的,

 

Delete the domain controller certificate that is no longer valid

To delete the domain controller certificate that is no longer valid:

  1. On the domain controller in which the issue is occurring, click Start , and then click Run .
  2. Type mmc.exe , and then press ENTER.
  3. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue .
  4. Click File , and then click Add/Remove Snap-in .
  5. Click Certificates , and then click Add .
  6. Click Computer account , click Next , and then click Finish .
  7. Click OK to open the Certificates snap-in.
  8. Expand Certificates (Local computer) , expand Personal , and then click Certificates .
  9. Right-click the old domain controller certificate, and then click Delete .
  10. Click Yes , confirming that you want to delete the certificate.
  11. After the certificate is deleted, follow the procedure in the "Request a new certificate" section.
Request a new certificate

To request a new certificate:

  1. Expand Certificates (Local computer) , right-click Personal , and then click Request New Certificate .
  2. Complete the appropriate information in the Certificate Enrollment Wizard for a domain controller certificate.
  3. Close the Certificates snap-in.

Verify

To perform this procedure, you must be a member of the Domain Admins group, or you must have been delegated the appropriate authority.

To verify that the Kerberos Key Distribution Center (KDC) certificate is available and working properly:

  1. Log on to a computer within your domain.
  2. Click Start , point to All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
  3. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue .
  4. At the command prompt, type certutil -dcinfo verify , and then press ENTER.
  5. If you receive a successful verification, the Kerberos KDC certificate is installed and operating correctly.

Related Management Information

KDC Certificate Availability

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
首先,需要在Linux2上安装Kerberos软件包。以CentOS为例,可以使用以下命令安装: ``` sudo yum install -y krb5-server krb5-libs krb5-auth-dialog krb5-workstation ``` 安装完成后,进行以下配置步骤: 1. 编辑`/etc/krb5.conf`文件,配置Kerberos的全局参数。示例配置如下: ``` [logging] default = FILE:/var/log/krb5libs.log [libdefaults] default_realm = EXAMPLE.COM dns_lookup_realm = false dns_lookup_kdc = false ticket_lifetime = 24h renew_lifetime = 7d forwardable = true [realms] EXAMPLE.COM = { kdc = linux2.example.com admin_server = linux2.example.com } [domain_realm] .example.com = EXAMPLE.COM example.com = EXAMPLE.COM ``` 其中,`default_realm`设置为我们的域名,`kdc`和`admin_server`设置为KDC服务器的主机名。 2. 生成Kerberos数据库。运行以下命令: ``` sudo kdb5_util create -s ``` 该命令将会生成一个Kerberos数据库,需要设置一个管理Kerberos的密码。 3. 配置Kerberos策略。在`/var/kerberos/krb5kdc/kdc.conf`文件中添加以下内容: ``` [kdcdefaults] kdc_ports = 88 kdc_tcp_ports = 88 [realms] EXAMPLE.COM = { acl_file = /var/kerberos/krb5kdc/kadm5.acl dict_file = /usr/share/dict/words admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab key_stash_file = /var/kerberos/krb5kdc/stash kdc_ports = 88 max_life = 1d max_renewable_life = 7d default_principal_flags = +preauth } ``` 4. 创建Kerberos管理员账户。运行以下命令: ``` sudo kadmin.local ``` 进入交互式命令行模式,输入以下命令: ``` addprinc root/admin ``` 该命令将创建一个名为`root/admin`的Kerberos管理员账户,并要求设置密码。 5. 添加待验证的主机账户。以Linux3为例,运行以下命令: ``` sudo kadmin.local ``` 进入交互式命令行模式,输入以下命令: ``` addprinc -randkey host/linux3.example.com ktadd host/linux3.example.com ``` 该命令将创建一个名为`host/linux3.example.com`的主机账户,并为该账户生成一个随机的密钥,并将该密钥添加到Kerberos的keytab文件中。 6. 启动Kerberos服务。运行以下命令: ``` sudo systemctl start krb5kdc sudo systemctl start kadmin ``` 至此,Linux2已经配置完成,可以用作KDC服务器,负责Linux3和Linux4的验证

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值