Jump to content

Recommended Posts

Posted
Hey everyone, I'm installing SSL certificates on all my user's machines as they've just expired, but I was wondering if there's a way of scripting this to run automatically? I install to local machine which means that it needs Admin elevation which is where I'm tripping up. Could I write a script that automatically fills in those fields with admin information? Has anyone tried this before?
Posted

Are these certs you generated yourself? AD CS should auto add its root CA to all the AD Windows computers.

 

Otherwise use Group Policy: Computer>Windows>Security>public key>Trusted Root

Posted
It's Schools Broadband's certificate, we're moving away from the server and into Intune. I did try deploying there but it's still a work in progress :(
Posted

The best way to do this is via Group Policy but if that's not an option you can use a batch script to install a certificate:

 

Certutil -addstore -f "TrustedPublisher" "CertificateNameAndLocations.cer"

 

This will need to be ran as admin though to avoid the admin prompt.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...