Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-15-2025, 02:41 AM
|
#1
|
|
Senior Member
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,103
Rep:
|
certutil, certificates and keys
How do you find which certificate uses which private key?
I would like to delete certificates and corresponding keys that are expired and unused.
Thank you.
|
|
|
|
08-16-2025, 03:28 PM
|
#2
|
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 7,126
|
Quote:
Originally Posted by qrange
How do you find which certificate uses which private key?
I would like to delete certificates and corresponding keys that are expired and unused.
Thank you.
|
Personally I document and date when I create or acquire certificates and keys, and how I name the files.
IF you have saved the creation files there are tools to READ them and the dates stored in them, but if you cannot use those then your documentation is the resource.
IF you have no documentation, you are kinda screwed and the best things might be to start over and DOCUMENT!
|
|
|
|
08-17-2025, 05:14 AM
|
#3
|
|
Member
Registered: Jun 2025
Location: CDO, Philippines
Distribution: Lots of distros...
Posts: 284
Rep:
|
Quote:
Originally Posted by qrange
How do you find which certificate uses which private key?
I would like to delete certificates and corresponding keys that are expired and unused.
Thank you.
|
Run a fingerprint on both the cert and the key, then compare. That tells you what belongs together.
--
|
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 06:08 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|