Re: Trying to renew a certificate - nss error 8168

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Reynolds wrote:
> I think the issue was that the new certificate "might" have had the same
> name as the old one?

I suspect it's because a new private key was generated there are two
certs with the same name but different keys.

To re-use the existing private key the easiest way is to simply retain
the original CSR and resubmit it when you need renewal. Or you can
regenerate it and specify -k <key_id> when you do so to re-use the key
rather than generating a new one.

certutil -K -d /path/to/db to get list of keys.

rob

> 
> On 8/24/20 9:28 AM, rainer@xxxxxxxxxxxxxxx wrote:
>> Am 2020-08-24 15:18, schrieb Mark Reynolds:
>>> Not sure what the problem is, but if you create a second test DS
>>> instance, can you import it there?
>>>
>>> Maybe remove the old cert first?  If you try that though please make a
>>> backup of these files under /etc/dirsrv/slapd-INST: cert8.db, key3.db,
>>> and secmod.db in case it doesn't work.
>>>
>>
>>
>>
>> Hi Mark,
>>
>> it seems that, yes indeed, you have to delete the old certificate
>> first (and then also re-import the intermediate certificate).
>>
>>
>>
>> Thanks a lot for the hint!
>>
>>
>> Best Regards
>> Rainer
>> _______________________________________________
>> 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>> Fedora Code of Conduct:
>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives:
>> https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
>>
> 
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux