Sharkman Posted November 30, 2021 Posted November 30, 2021 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?
mavhc Posted November 30, 2021 Posted November 30, 2021 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
Sharkman Posted November 30, 2021 Author Posted November 30, 2021 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
RLR Posted November 30, 2021 Posted November 30, 2021 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. 1
Sharkman Posted November 30, 2021 Author Posted November 30, 2021 Yeah, this is what I have been doing, just thought about seeing if I could automate the prompt too haha
DaveTheTech Posted November 30, 2021 Posted November 30, 2021 Are you not able to use the ceritifcate connector in Intune?
round2it Posted November 30, 2021 Posted November 30, 2021 i used this guide https://partners.exa.net.uk/pdf/education/information/quantum-setup.pdf not for your provider but the instrutions are the same
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now