retreiving public key using sn.exe RRS feed

  • Question

  • Hi

    Since last couple of years all CA authority is issuing certificate with 2048 RSA bits.  This certificate when I import in to sn.exe it successfully gets imported, but when I try to extract the public from the container it gives an error message.

    "Failed to extract public key from key pair -- Key does not exist."

    Here is what I have done

    1. sn -i <pfx file> <container name>

    2. sn -pc <container name> pub.snk

    step 2 gives the above error message. Note that if I do the same with 1024 RSA bit certificate it works fine. I haven't exported the chain of certificate in pfx.



    Wednesday, June 12, 2013 10:11 PM