Import X509 certificate using a script in personal certificates

Hello experts,

In our network we use a X509 certificate to communicate with a secured web service. Every year this certificate is renewed and must be installed on all computers in the network.
When we renew a certificate, we must export this certificate (including the private key) so we can import it on all the other workstations. This import-procedure consists of just double-clicking te certificate-file and hit "next" at every step.

What we would really like to do is to import this certificate, into the personal certificates, using a (login)script. I've looked into tools like certutil and certmgr but I can't figure out how to use them exactly.

Thanks in advance
Who is Participating?
SupracomConnect With a Mentor Author Commented:
I found the solution myself:

certutil -importpfx -f -user -p "password" "filename.pfx"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.