Generate CSR¶
Topic: josev/cs
This message is intended to request the OEM to generate a key pair by the TPM and the corresponding certificate signing request CSR to perform a certificate installation.
GenerateCsrRequest¶
Topic: josev/cs. Used to request a CSR from the OEM.  | 
|||
type  | 
object  | 
||
properties  | 
|||
  | 
type  | 
string  | 
|
format  | 
uuid  | 
||
  | 
const  | 
generate_csr  | 
|
  | 
const  | 
request  | 
|
  | 
type  | 
object  | 
|
properties  | 
|||
  | 
enum  | 
charging_station_certificate, v2g_certificate  | 
|
  | 
type  | 
string  | 
|
  | 
type  | 
string  | 
|
  | 
type  | 
string  | 
|
  | 
enum  | 
ECDSA_SHA256, RSA_SHA256, RSA_SHA384  | 
|
Example:
{
 "id": "123e4567-e89b-12d3-a456-426614174000",
 "name": "generate_csr",
 "type": "request",
 "data": {
     "certificate_type": "charging_station_certificate", # v2g_certificate
     "common_name": "9783161484100",
     "organization_name": "EcoG",
     "country_name": "DE",
     "algorithm": "ECDSA_SHA256",  # Optional
 }
}
GenerateCsrResponse¶
Topic: cs/Josev. Used to respond to CSR request from Josev.  | 
|||
type  | 
object  | 
||
properties  | 
|||
  | 
type  | 
string  | 
|
format  | 
uuid  | 
||
  | 
const  | 
generate_csr  | 
|
  | 
const  | 
response  | 
|
  | 
type  | 
object  | 
|
properties  | 
|||
  | 
enum  | 
accepted, rejected  | 
|
  | 
type  | 
string  | 
|
Topic: cs/josev
Example:
{
    "id": "57828133-8cfe-477d-b829-0b60aff90c2a",
    "name": "generate_csr",
    "type": "response",
    "data": {
             "status": "accepted", # rejected
             "csr": "-----BEGIN CERTIFICATE REQUEST...", # Optional
            }
}