YAOG icon indicating copy to clipboard operation
YAOG copied to clipboard

generating a P12 file containing a Pem

Open brothercorvo opened this issue 5 years ago • 4 comments

at the FreeTAKServer project we are trying to find a confortable way to generate certs. Below is the target structure. image

We could use YAOG for all the steps, but it failed when we tried to import the Pem image the pem file is imported in the main window and it's valid.

thank you for your software and support

brothercorvo avatar Dec 15 '20 15:12 brothercorvo

Hi,

Seeing the error windows, it occurs when you try to load an additional cert within the p12 creation windows : is this the case ? Are you loading it from a file or from the stack ?

Can you provide the pem file which generates the error ?

Regards,

patrickpr avatar Dec 15 '20 19:12 patrickpr

I tried to load from the stack and from the file. same error.
When loaded into the main window the Pem is valid. Please see the attached files

FTSClientKey.zip

brothercorvo avatar Dec 16 '20 13:12 brothercorvo

OK, I'll test this.

patrickpr avatar Dec 17 '20 08:12 patrickpr

Hi, I'm not able to reproduce the problem. The ceritifcate loads OK from stack or file (see image below). What I did :

  1. load your certificate and key then pushed into stack
  2. click "Save as P12", then loaded the certificate from original file, then form stack

I also tried to generate a new autosign cert+key, then import your certificate : working too.

Can you describe to me the different steps you do when getting the error ? Are you using the latest version of yaog ? (simple way to check is if you have the "private key flag" on the P12 dialog, then it's latest version).

Regards,

image

patrickpr avatar Dec 17 '20 21:12 patrickpr