AnsweredAssumed Answered

RESTMAN API for Private Keys

Question asked by pratysin on Jul 30, 2018
Latest reply on Aug 1, 2018 by pratysin

Hello Team,

 

I am using RESTMAN API for generating Private Keys. Now i need to Export the private key and i use the URL as below:

 

https://192.168.45.138:8443/restman/1.0/privateKeys/00000000000000000000000000000002:testpk/export

 

I am getting success results also. But now I am confuse/stuck what to do next. Shall i need to save the result in some format in my local machine. 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<l7:Item xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management">
<l7:Name>00000000000000000000000000000002:testpk Export</l7:Name>
<l7:Id>00000000000000000000000000000002:testpk</l7:Id>
<l7:Type>PrivateKeyExportResult</l7:Type>
<l7:TimeStamp>2018-07-30T15:08:05.017+05:30</l7:TimeStamp>
<l7:Link rel="self" uri="https://gateway1.l7tech.com:8443/restman/1.0/privateKeys/00000000000000000000000000000002:testpk/export"/>
<l7:Link rel="privateKey" uri="https://gateway1.l7tech.com:8443/restman/1.0/privateKeys/00000000000000000000000000000002:testpk"/>
<l7:Resource>
<l7:PrivateKeyExportResult>
<l7:Pkcs12Data>MIACAQMwgAYJKoZIhvcNAQcBoIAkgASCA+gwgDCABgkqhkiG9w0BBwGggCSABIIB7zCCAeswggHnBgsqhkiG9w0BDAoBAqCCAZIwggGOMCgGCiqGSIb3DQEMAQMwGgQUIOKtJlTAIJ08cvJHUHt+eM93+oMCAgQABIIBYHctcnfhFQugt0adkOLZqIupAbaR8DxmUh4BRJJRlvWVk9Gs5rMLv38cGl6+ERo6ItZmit5tzfua/UKsWh8jp1kOry7HyJsSretbrnATHO5WYkF54V1SNAgumthDAGcsnSVDdk1QjqZ2v990GBwXKfOYnvKkz+65TsMK6AEyr8CUgLZDBhLnd5qJnGbLnv1KMJ18IcYZCUzffulZs7yoRPiwDnrty3HodSO/Gd22M0bbslVgHW5IK78p/8YHsYGa/SfMBSSMY2rkxkgIoXq+TRIWxHzoRqWP0TSzQG5wOF4hbK+AfAyqPiqFV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w4yaWEocqPnS4/2kK68GvnlAgIEAAAA</l7:Pkcs12Data>
</l7:PrivateKeyExportResult>
</l7:Resource>
</l7:Item>

 

 

 

Please help me in getting the details on what to do after export of private keys done. If i need to store in which format do i need to store.

 

 

Thanks

Pratyush

Outcomes