Profiles with User-based certificates - takes ages to obtain


#1

Hello All,

we are currently facing an issue with profiles for WiFi which contains User-based certificates. The Certification Authority is generating the User-based certificates, but for some reason just some are pushed to the device. Sometimes the profile with certificate is pushed within 5 minutes, sometimes never.

We really get out of ideas. The communication between Device Services > Cloud Connector > Certificate Authority looks fine. But afterwards there is no communication on the device. Even though the device is checking in on regular basis (tried on WiFi and LTE same behaviour).

We were told by AW support that the Device Services is requesting the certificate when the communication with the device is established. But to me this looks as it is not right as on CA we see about 100+ certificated issued, but AW have delivered about 10+. What is even worst this is tried by AW just once and then the device profile is set as pending install, but the command queue is empty. All the build in checks towards the authority runs with success.

Have anybody encountered something similar? Any idea what to check to sort this out? This issue is even during the enrolment of the device, all profiles without the user-based certificate are delivered to the device without issue and on time (10-30 seconds), but the ones with the user-based certificate are lottery. Sometimes yes, sometimes with delay, sometimes never.

Thanks in advance.


#2

Hi @RagnarBlack ,

On iOS, all profiles (even with certificats) are only installed if there is an action from an user while the device is locked. Which is the unclock action. You can see that the user has unclocked or not by checking the command Queue (troubleshooting) on each device. You will see that the mdm is waiting from the device an unclock action from the user.

otherwise you can try to check:

  • how many certificats your PKI can deliver. We use CMS4Mobile which manage 2 simulataneous demands every nearly 5 secondes.
  • the value you set in the certificat. Somes caracters may not be well manage for your PKI due to certificat encoding (UTF-8, …)

You can try to improve profile publishing by setting a value to 150 maximum temporaly (Airwatch doesn’t recommande to set a higher value due to perfomance consumption)
–> Settings / Installation / Performance Tuning / Certificate profile Publish Frequency


#3

AirWatch batches profiles that contain a certificate payload (generated on demand, not uploaded into the profile) in groups of 50 for deployment every 5 minutes. This is normal behavior. We have the same thing going on for cert based auth for email.


#4

Hello,

thanks for answers. The thing is that after restart of SQL server and Device Services server it is working 5minutes for an certificate approx. But after some time afterwards it stops deliver the profiles.

Currently with AW support we have found that there is some table completely missing in our SQL database. Pretty weird stuff, but hard to tell if that is the cause. As the sometimes works, sometimes not situation is not really saying why this is happening.

@Dara yes we have amended that value for better frequency. But as I say no progress. It looks that the SQL gets clogged after some time.

Thanks all for suggestions.