- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-07-2025 02:20 AM
Hi. I am creating an adaptable app Powershell script and I am trying to implement remote CSR generation function. My requests keep failing because no information is passed into the $Specific.SubjectDN hashtable for the Generate-CSR function. I try to reference a value as described in the example apps (ie. $Specific.SubjectDN.CN) and its just blank. Same for all variables under the SubjectDN hashtable. I am able to get values for $Specific.SubjAltNames.DNS. I have tried to run the script as a renewal for an existing certificate as well as for a new certificate and the DN values are blank in both scenarios. Am I missing something here? Thanks!
07-08-2025 01:33 PM
Hi @Shawn Keating , hopefully a member of the community is able to advise on this.
If you'd like CyberArk to take a look, you can create a support case from the Services Hub: https://community.cyberark.com/s/services-hub . Some of the more technical or unique cases are best tackled by the Support Team.
07-17-2025 05:34 AM
Hey @Shawn Keating I hope you're doing well! I would suggest to turn debugging on for your app and add a line of code to show you all the elements in the hashtable:
$Specific.GetEnumerator() |% {add-content $DEBUG_FILE "$([datetime]::Now) $($_.Key) $($_.Value)"}
07-17-2025 05:40 AM
Thanks @Christopher Blackburn ! Turned out to be a simple case issue. I was referencing using SubjectDN and it has be SubjectDn.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

