TheJumpCloud / support

Public scripts and examples for managing JumpCloud managed systems and service endpoints
264 stars 149 forks source link

Error in 'Generate-UserCerts.ps1' #560

Closed sonny-mei closed 4 months ago

sonny-mei commented 4 months ago

There seems to be a bug in the 'Generate-UserCerts.ps1' due to an inconsistent variable:

image

It should be $MatchedUser and not $MatchedUser.username, as the latter produces an error. This error occurs when a user is listed in the user.json file, but does not have a user certificate generated yet.

sonny-mei commented 4 months ago

This issue is for 'Passwordless User Certificate Radius Certificate Generation v1.0.5'

https://github.com/TheJumpCloud/support/releases/tag/PasswordlessRadiusConfig_v1.0.5

sonny-mei commented 4 months ago

As mentioned in another issue, version 1.0.7 fixes this issue: https://github.com/TheJumpCloud/support/releases/tag/PasswordlessRadiusConfig_v1.0.7

Will proceed to close this!