Skip to main content

Generate CSR Example

This command is used to generate a CSR and return it in output, then you need to manually send the CSR file to PKI provider and use import-certificate command

Command:

./notation-securosys generate-csr

Input(example):

{ 

"keyId": "SecurosysImageSignKey02",

"pluginConfig": {},

"certificate": {

"validity": 365,

"attributes": {

"commonName": "DockerImageSign05",

"country": "CH",

"stateOrProvinceName": "Zurich",

"locality": "Zurich",

"organizationName": "Securosys SA",

"organizationUnitName": "IT"

}
}
}