- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-21-2017 12:00 PM
Hi all,
Looking for some help on the proper XML structure for an API call to generate a local certificate. Every which way I try sending queries lands me an 'Illegal request [parameter]' response.
What I've tried lately was the following (with variables provided from a PowerShell function):
<request><certificate><generate><name>$CertificateName<signed-by>$SignedBy<algorithm><certificate-name>$Username<days-till-expiry>$ExpiryDays<digest>$Digest<RSA><rsa-nbits>$RSABits</rsa-nbits></RSA></digest><days-till-expiry><certificate-name></algorithm></name></signed-by></generate></certificate></request>
So ideally, I'd like to include the certificate name, CN, SignedBy, RSA w/20148 bits, sha256 digest, and 1 year expiry.
Any help would be a huge help!
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!