Proper Syntax for Local Cert Generation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Proper Syntax for Local Cert Generation

L2 Linker

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!

0 REPLIES 0
  • 1924 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!