LinuxQuestions.org
Weather apps tell you it'll rain. Wyndo tells you when to go.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-15-2025, 02:41 AM   #1
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,103

Rep: Reputation: 47
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.
 
Old 08-16-2025, 03:28 PM   #2
wpeckham
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

Rep: Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458
Quote:
Originally Posted by qrange View Post
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!
 
Old 08-17-2025, 05:14 AM   #3
jabongzki
Member
 
Registered: Jun 2025
Location: CDO, Philippines
Distribution: Lots of distros...
Posts: 284

Rep: Reputation: 68
Quote:
Originally Posted by qrange View Post
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.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Best Practice Setting up Openvpn Certificates and Keys dalacor Linux - Server 2 04-12-2019 05:06 AM
Application to store and manage confidential entities like ssl certificates, keys and passwords pix9 Linux - Server 7 06-30-2016 11:20 AM
Can you run OpenVPN without keys or certificates? FireRaven Linux - Networking 3 05-08-2015 03:20 AM
[SOLVED] Warnings about untrusted certificates while compiling ca-certificates Lennie Linux - Security 4 03-14-2013 02:31 AM
function keys and gnome-terminal function keys and gnome-terminal fakie_flip Linux - Software 1 10-23-2007 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions