How to extract the Root CA and Subordinate CA from a certificate chain in Linux?
99
votes
6
answers
394666
views
I have an end-entity/server certificate which have an intermediate and root certificate. When I
From there I can perform a *View Certificate* and export them. I can do that for both root and intermediate in Windows. I am looking for this same method in Linux.
cat
on the end-entity certificate, I see only a single BEGIN
and END
tag. It is the only the end-entity certificate.
Is there any way I can view the intermediate and root certificate content. I need only the content of BEGIN
and END
tag.
In Windows I can see the full cert chain from the "Certification Path". Below is the example for the Stack Exchange's certificate.


Asked by Anirban Nag 'tintinmj'
(1195 rep)
May 30, 2017, 02:21 PM
Last activity: Feb 27, 2025, 05:03 PM
Last activity: Feb 27, 2025, 05:03 PM