Need help bash scripting to windows server

joe_wright
New Contributor

I'm trying to get machines to connect to a windows server on our corporate network via bash so they can run some tasks, thoughts on how to do so?

The end goal is to generate a CSR (can be done with certtool) and pass it on to a Windows CA (we have our own hosted on this server), have the CA churn the CSR and spit out a cert, and adding the resulting cert to the System keychain being completely trusted. We already have a generic cert in a configuration profile payload but the network also requires a machine/user specific cert to connect to the corporate wifi.

1 REPLY 1

flyboy
Contributor

Are you talking about AD certs? If so, you can use the AD certificate payload in a configuration profile to do this. I use the AD certificate payload to pull our WiFi certificate.