AnsweredAssumed Answered

Need to create certs via RESTMAN API

Question asked by pratysin on Aug 19, 2016
Latest reply on Jan 23, 2018 by Stephen_Hughes

Hello Everyone,

 

I am trying to create a certificate without logging into the Policy Manager. I am hitting the RESTMAN API service : https://gateway-name:8443/restman/1.0/trustedCertificates  via SOAP UI. I am selecting the POST method so that I can fetch the XML code but when I am hitting its giving me some Bad Request. Below is the sample I am hitting:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<l7:TrustedCertificate xmlns:l7="xyz some values i got">

<l7:Name>NewCertName</l7:Name>

<l7:CertificateData>

               <l7:IssuerName></l7:IssuerName>

               <l7:SubjectName></l7:SubjectName>

               <l7:Encoded></l7:Encoded>

</l7:CertificateData>

</l7:TrustedCertificate>

 

 

Please let me know If I am correct or not. If not then please suggest the correct XML code as I am not well versed with XML.

 

If I am correct then please let me know how I will collect the IssueName, SubjectName and Encoded details.

The above details we can take from created certs ?

Outcomes