none
Trying to copy a certficate to a smart card

Answers

All replies

  • Hi Peter,

    This is a forum dedicated to Microsoft Scheduling PROJECT solution.

    In order to have an helpful hand, please post your question the appropriate forum.

    Regards.


    Guillaume Rouyre - MBA, MCP, MCTS

    Saturday, February 08, 2014 1:33 AM
  • Hello. I have moved your post to the Windows Server forum. Paul

    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS

    Saturday, February 08, 2014 12:26 PM
  • there is -csp option.
    Certutil -importpfx -?


    My weblog: http://en-us.sysadmins.lv
    PowerShell PKI Module: http://pspki.codeplex.com
    Check out new: PowerShell FCIV tool.

    • Marked as answer by peter clift Wednesday, February 12, 2014 5:11 PM
    Monday, February 10, 2014 10:27 AM
  • Vadims, there is a -csp option...

    C:\WINDOWS\system32>certutil -importpfx -?
    Usage:
      CertUtil [Options] -importPFX [CertificateStoreName] PFXFile [Modifiers]
      Import certificate and private key
        CertificateStoreName -- Certificate store name.  See -store.
        PFXFile -- PFX file to be imported
        Modifiers -- Comma separated list of one or more of the following:
                AT_SIGNATURE -- Change the KeySpec to Signature
                AT_KEYEXCHANGE -- Change the KeySpec to Key Exchange
                NoExport -- Make the private key non-exportable
                NoCert -- Do not import the certificate
                NoChain -- Do not import the certificate chain
                NoRoot -- Do not import the root certificate
                Protect -- Protect keys with password
                NoProtect -- Do not password protect keys
        Defaults to personal machine store.

    Options:
      -f                -- Force overwrite
      -user             -- Use HKEY_CURRENT_USER keys or certificate store
      -Unicode          -- Write redirected output in Unicode
      -gmt              -- Display times as GMT
      -seconds          -- Display times with seconds and milliseconds
      -v                -- Verbose operation
      -privatekey       -- Display password and private key data
      -pin PIN                  -- Smart Card PIN
      -p Password               -- Password
      -csp Provider             -- Provider
      -sid WELL_KNOWN_SID_TYPE  -- Numeric SID
                22 -- Local System
                23 -- Network Service
                24 -- Local Service

    Brian

    Monday, February 10, 2014 1:51 PM
  • On Mon, 10 Feb 2014 13:51:49 +0000, Brian Komar [MVP] wrote:

    Vadims, there is a -csp option...C:\WINDOWS\system32>certutil -importpfx -?

    Which is what Vadims said. :-)


    Paul Adare - FIM CM MVP
    Remember the signs in restaurants "We reserve the right to refuse
    service to anyone"? The spammers twist it around to say "we reserve
    the right to serve refuse to anyone." -- SPAMJAMR & Blackthorn in nanae

    Monday, February 10, 2014 3:10 PM
  • Hi Peter,

    Do you need further assistances on this issue by now?

    If yes, please feel free to let us know.

    Have a nice day!

    Amy Wang

    Wednesday, February 12, 2014 4:48 AM
    Moderator