SCEP MDM Profile being removed and issuing new certs
Posted by Jeff-IT@reddit | sysadmin | View on Reddit | 7 comments
Hey guys, could use some assistance.
I use Manage Engine MDM.
My setup is
- Offline RootCA
- Domain joined intCA signed by root
- SCEP server on a separate box, using AD CS
I am in the process of creating an NDES/SCEP for our mac devices and ipads. I got this working.
- Device on IT vlan
- Run profile in MDM
- Profile installs, device gets certificate.
I noticed the next day the VPN profile was gone, and the the certificate was gone as well. I look in the MDM logs and see "ndes server not reachable"
I go back to the device and see i left it on the guest network, which has no access to the ndes server.
So my guess here is the device checked in with the MDM, couldn't reach ndes and just failed? I don't know why it tried to reinstall this profile as nothing changed. So I repushed the profile and it caused the device to get a brand new cert, rather then using the one it had.
This is where im stuck. This seems like a pretty big issue i don't know how to solve. We have some remote employees, and its sounding like SCEP/NDES needs to be accessed from the public internet. Otherwise when they are home, they will lose their SCEP, their VPN and then get a brand new cert if i get them reconnected.
Can someone give me some times? Maybe i missed something? Any advice?
LooseSilverWare@reddit
I have a reverse proxy setup on our azure instance to still push out certs
Cormacolinde@reddit
Yep you need to have external access to SCEP otherwise your devices get into a Catch-22 scenario.
Jeff-IT@reddit (OP)
Yup thanks.
Jeff-IT@reddit (OP)
Thanks. That was my best guess but it just felt… wrong. Being mostly internal and all. I’ll do research on this
LooseSilverWare@reddit
Shared some links!
Jeff-IT@reddit (OP)
Thanks!
LooseSilverWare@reddit
https://learn.microsoft.com/en-us/entra/identity/app-proxy/app-proxy-protect-ndes
https://macnotes.wordpress.com/2020/11/11/configuring-azure-web-application-proxy-for-jamf-pro-scep-certificates/