Authentication
RSA public key registration
cert_prefix="my-rsa-pair"
openssl genrsa -out "${cert_prefix}_privatekey.pem" 4096
openssl req -newkey rsa:$bitlength -x509 -key "${cert_prefix}_privatekey.pem" -out "${cert_prefix}_publickey.cer"
openssl pkcs8 -topk8 -nocrypt -in "${cert_prefix}_privatekey.pem" -out "${cert_prefix}_privatekey.pkcs8"
openssl x509 -pubkey -noout -in "${cert_prefix}_publickey.cer" > "${cert_prefix}_publickey.pem"API calls authentication
Authorization: Bearer <jwt token> | ------------------| -------------- | ------------|
| Subject | sub | The subject must follow format ces:customer:public_key_name where public_key_name is the name of the public key registered in Connect platform system|
| Issued At | iat | The creation date of the token, following the RFC7519 format|
| Expiration date | exp | The expiration date of the token, following the RFC7519 format. This must be at most equal to iat + 30 minutes.|
| JWT ID | jti | A unique ID for your JWT (e.g., a random UUID)|
Last updated