Posted on 04-24-2023 01:15 PM
Our machine certificates are formatted by hostname.domain.com
Within the certificate payload, should I use CN=$COMPUTERNAME.domain.com or CN=$HOSTNAME.domain.com?
I was hoping I could do it by DNS name only - but the Certificate payload requires a subject.
04-24-2023 01:56 PM - edited 04-24-2023 01:57 PM
@k3vmo We use user certificates instead of device certs, so I can't answer this from direct experience, but I don't see $HOSTNAME as a valid variable for a Jamf Pro Configuration Profile (in https://learn.jamf.com/bundle/jamf-pro-documentation-current/page/Computer_Configuration_Profiles.ht...). Since $HOSTNAME should be equivalent to $COMPUTERNAME.comain.com I would recommend going with CN=$COMPUTERNAME.domain.com
Posted on 04-25-2023 07:03 AM
We use computer certificates but with the serial number as UPN. For other extensions I used $COMPUTERNAME as Hostname.
04-25-2023 08:31 AM - edited 04-25-2023 08:31 AM
What @sdagley said. Use CN=$COMPUTERNAME.domain.com That should work.