AnsweredAssumed Answered

restman API import private-key questions

Question asked by stephan.burkard on Nov 21, 2016
Latest reply on Apr 19, 2017 by Kevin_Masingale


I have some questions regarding the possibility to import private-keys through restman API of Layer7: 


  1. How can I create the text content of <l7:Pkcs12Data> without manually import/export the key first? 
    I ask because the content of the element <l7:Pkcs12Data> inside <l7:PrivateKeyImportContext> is text. PKCS12 is binary and when I try to simply convert it to Base64 the result is not the same as when I manually import the private key and then export it through restman.
  2. Is it possible to import a private-key and at the same time mark it as default SSL key (special purpose)?
    I would like to do this in one request.