Skip to content

Add additional SANs #107

Answered by gdbarron
TonyJHART asked this question in Q&A
Discussion options

You must be logged in to vote

@TonyJHART, you can use Set-TppAttribute to update certificate values. For example, to add a SAN DNS you would use Set-TppAttribute -Path '\ved\policy\mycert.com' -Attribute @{'X509 SubjectAltName DNS'='site.domain.com'}.

To get the list of available attributes for a specific class, use Get-TppClassAttribute. For example, Get-TppClassAttribute -ClassName 'X509 Server Certificate'.

As an aside, if you ever did need to call an api that didn't have a dedicated function, you can use Invoke-VenafiRestMethod.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gdbarron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants