EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to Add p7b certificate to PFX file

Posted: 07/22/2013 15:26:11
by Casper Ng (Basic support level)
Joined: 07/22/2013
Posts: 1

Dear sir/madam,

My client provides me a cer and a p7b files. In order to do file upload and download with the client's ftps server using Secured Black Box, Eugene Mayevski gave me an idea to create the PFX file our from the p7b file. I tried to look into the object TElMemoryCertStorage but cannot get the way.

Can any one advise or to provide the sample codes of how to create the PFX file out from the cer and p7b files?

As the answer to this may be helpful to the others, I would like to put this into this forum to share with the others.

thanks very much.

Posted: 07/22/2013 23:56:35
by Eugene Mayevski (Team)

I am sorry for possibly misleading answer, but you don't need to add p7b to PFX. You need to load certificates from any format to the instance of TElMemoryCertStorage class (using one of its LoadFromStream***() methods), then use this instance to access individual certificates (if needed) or to authenticate on the server.

Sincerely yours
Eugene Mayevski



Topic viewed 691 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!