• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2645
  • Last Modified:

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
0
Supracom
Asked:
Supracom
1 Solution
 
SupracomAuthor Commented:
I found the solution myself:

certutil -importpfx -f -user -p "password" "filename.pfx"
0
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.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now