Thursday 24 May 2018

Extract certificate from metadata file

1.  Open the metadata file and find use="signing", for example:

...
 
   
     
        MIICPTCCAaagAwIBAgIGAUIAVrpxMA0G ...... 96sa3ZdjPQkSZa48l6ZW86yLAECUXQ== 
     

   
 

...
 
2.  Copy the data from the X509Certificate element.
3.  Paste it to a new text file.
4.  Insert -----BEGIN CERTIFICATE----- to the beginning of the file .
5.  Append -----END CERTIFICATE----- to the end of the file. For example:

-----BEGIN CERTIFICATE-----
MIICPTCCAaagAwIBAgIGAUIAVrpxMA0G
......
96sa3ZdjPQkSZa48l6ZW86yLAECUXQ==
-----END CERTIFICATE-----

6.  Save the text file with a .CRT extension.

No comments:

Post a Comment

Number of Visitors