login about faq

Hello Everybody,

I'm using FTP2 version 9.5.0.64, I try to read an private key into a certStore for use with login at a ftp via S-FTP. I just use the code from the example with the method LoadPfxFile wiht correct path and password, but I get the folloging LastErrorText:

ChilkatLog:
  LoadPfxFile:
    DllDate: Nov 12 2016
    ChilkatVersion: 9.5.0.64
    UnlockPrefix: NONE
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 1
    pfxPath: C:\.............\<myfile>.ppk
    importPfxData:
      pkcs12FromDb:
        loadPkcs12Inner:
          verifyHmacIntegrity:
            PFX does not have MacData for integrity verification.
          --verifyHmacIntegrity
          der_to_xml:
            Found primitive SEQUENCE or SETOF in ASN.1!
            ASN data length exceeds remaining number of bytes available.
            tag: 11
            idClass: 0
            bConstructed: 1
            headerLen: 2
            dataLen: 51
            inlen: 48
            Abort ASN.1 processing...
            recursiveDepth: 2
            Abort ASN.1 processing...
            recursiveDepth: 1
          --der_to_xml
          Failed to get authenticated safe.
        --loadPkcs12Inner
      --pkcs12FromDb
    --importPfxData
    Failed.
  --LoadPfxFile
--ChilkatLog

Can you please tell me what's wrong?

asked Nov 28 at 11:44

triediger's gravatar image

triediger
1

edited Nov 29 at 08:54

jpbro's gravatar image

jpbro ♦
1.1k2618

I've done it for you this time, but in the future, please place log text, code, etc.. in <pre></pre> tags to make them easier to read. This will increase the likelihood of getting a response.

(Nov 29 at 08:56) jpbro ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×131

Asked: Nov 28 at 11:44

Seen: 48 times

Last updated: Nov 29 at 08:56

powered by OSQA