Hey guys,
I have the the following information in my filezilla client under the trustedcerts.xml file
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
<TrustedCerts>
<Certificate>
<Data>308202223082018BA003020102020100300D06092A864886F70D01010505003057310B3009060355040613025553310B3009060355040813024E593111300F060355040713084E657720596F726B310D300B060355040A13045A696666310A3008060355040B130131310D300B060355040313045A696666301E170D3039303832353138333533365A170D3139303832333138333533365A3057310B3009060355040613025553310B3009060355040813024E593111300F060355040713084E657720596F726B310D300B060355040A13045A696666310A3008060355040B130131310D300B060355040313045A69666630819F300D06092A864886F70D010101050003818D0030818902818100BC282B1282648DC7E95618BE2BDD9DE28CFB111B8C455146A7D2B8792F196F8F658FA0F8368075F0D65E02E6361D8C99675A0C83AC83D6DF3BDC128941D4492D83147B17275211052536D34E0B4E0EE3ED6B63F238015578AECB34884664C360E98E6AC6142EDE54913CF3BBF724A7240A7053DD645374CCDD031668EF28A23F0203010001300D06092A864886F70D0101050500038181007E283271EA5373B47BDC89ED0F271DF247A81401C2A81D356EE451C753570058BFC1550970C0303E68BA197D49EEDD03507A287524C6C080B75CBA66FA9F3BB8700E5159467A95D6F0540378AA104FAB7D2BFA792601524A597947D92BDE962686A1BA7D78AFE31AFF52B6DE1B57633BDF550363EE709CBF5C55BA0F310C883C</Data>
<ActivationTime>1251225336</ActivationTime>
<ExpirationTime>1566585336</ExpirationTime>
</Certificate>
</TrustedCerts>
</FileZilla3>
From the Data element I need to get the certificate which was loaded when I tried to access a ftps server. How to I get it? Also in what format is the data getting stored here.
Any help is appreciated as this is kind of urgent for me.
Thanks again,
Mahesh
How to get the certificate from trustedcerts.xml file?
Moderator: Project members
Re: How to get the certificate from trustedcerts.xml file?
Hex encoded X509 certificate. Look at the source of FileZilla for details.