-
I am not realizing how to add a SAN to a cert. I know how for a totally new cert. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@TonyJHART, you can use To get the list of available attributes for a specific class, use As an aside, if you ever did need to call an api that didn't have a dedicated function, you can use |
Beta Was this translation helpful? Give feedback.
@TonyJHART, you can use
Set-TppAttribute
to update certificate values. For example, to add a SAN DNS you would useSet-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
.