Currently, the RPC is sent by SDL only if the EXTERNAL_PROPRIETARY policy mode is enabled.
Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
fileName | String | true | minlength: 1 maxlength: 255 |
The path to the file with the encrypted certificate from the PolicyTable |
This RPC has no additional parameter requirements
{ "id": 35, "jsonrpc": "2.0", "method": "BasicCommunication.DecryptCertificate", "params": { "fileName": "/home/user/sdl_build/bin/storage/certificate.pem" } }
{ "result": { "method": "BasicCommunication.DecryptCertificate", "code": 0 }, "id": 35, "jsonrpc": "2.0" }
{ "error": { "code": 4, "message": "Cert is not decrypted", "data": { "method": "BasicCommunication.DecryptCertificate" } }, "id": 42, "jsonrpc": "2.0" }