Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

cert pfx

 Post Reply Post Reply
Author
Latawiec Kazimierz View Drop Down
New Member
New Member
Avatar

Joined: 19 Dec 2018
Posts: 9
Post Options Post Options   Quote Latawiec Kazimierz Quote  Post ReplyReply Direct Link To This Post Topic: cert pfx
    Posted: 19 Dec 2018 at 11:16am
Crypt Pack demo:

Generate AdES -> XadES -> PFX file path: cert.pfx
Next Enveloping or Enveloped or Detached -> generate - input password and error:
Error when decrypting pkcs#12 file.

Please help.
Back to Top
Marion Candau View Drop Down
Member
Member
Avatar

Joined: 12 Aug 2016
Posts: 76
Post Options Post Options   Quote Marion Candau Quote  Post ReplyReply Direct Link To This Post Posted: 19 Dec 2018 at 11:28am
Hi,
To use this function in the demo, you need to have openssl.exe file in '..\..\libWin64' folder or to modify the folder in the FromPFXAskPassword procedure.
Best regards,
Marion
Back to Top
Latawiec Kazimierz View Drop Down
New Member
New Member
Avatar

Joined: 19 Dec 2018
Posts: 9
Post Options Post Options   Quote Latawiec Kazimierz Quote  Post ReplyReply Direct Link To This Post Posted: 19 Dec 2018 at 12:03pm
Problem is compile:
[MakeDir Error] Unable to create directory "C:\Users\mario\Documents\Embarcadero\Studio\Projets\TMSCryptographyPack\". Access to the path 'C:\Users\mario\Documents\Embarcadero\Studio\Projets\TMSCryptographyPack\' is denied.

Who is this: Mario !!
Back to Top
Marion Candau View Drop Down
Member
Member
Avatar

Joined: 12 Aug 2016
Posts: 76
Post Options Post Options   Quote Marion Candau Quote  Post ReplyReply Direct Link To This Post Posted: 19 Dec 2018 at 12:08pm
It seems that one of my old path is still present during the installation process.
What have you changed to have this compilation issue?
Back to Top
Latawiec Kazimierz View Drop Down
New Member
New Member
Avatar

Joined: 19 Dec 2018
Posts: 9
Post Options Post Options   Quote Latawiec Kazimierz Quote  Post ReplyReply Direct Link To This Post Posted: 19 Dec 2018 at 12:09pm
I have modify folder:
XAdes.LoadCertAndKeyFromPKCS12(filepath, value, 'C:\Users\LATAWIECK\Documents\tmssoftware\TMS Cryptography Pack\libWin64')
and openssl.exe in exists.

Back to Top
Latawiec Kazimierz View Drop Down
New Member
New Member
Avatar

Joined: 19 Dec 2018
Posts: 9
Post Options Post Options   Quote Latawiec Kazimierz Quote  Post ReplyReply Direct Link To This Post Posted: 19 Dec 2018 at 12:11pm
Originally posted by Marion Candau

It seems that one of my old path is still present during the installation process.
What have you changed to have this compilation issue?

Target platform Win64
Back to Top
Marion Candau View Drop Down
Member
Member
Avatar

Joined: 12 Aug 2016
Posts: 76
Post Options Post Options   Quote Marion Candau Quote  Post ReplyReply Direct Link To This Post Posted: 19 Dec 2018 at 12:13pm
In Projects -> Options, do you have the right paths everywhere? Maybe an old path still remains.
Back to Top
Latawiec Kazimierz View Drop Down
New Member
New Member
Avatar

Joined: 19 Dec 2018
Posts: 9
Post Options Post Options   Quote Latawiec Kazimierz Quote  Post ReplyReply Direct Link To This Post Posted: 19 Dec 2018 at 12:33pm
Originally posted by Latawiec Kazimierz

Originally posted by Marion Candau

It seems that one of my old path is still present during the installation process.
What have you changed to have this compilation issue?

Target platform Win64

I found:
win64bit debug is ok
When change in win64bit release then error.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down