Skip to content

Commit

Permalink
Improve key format spec (PKCS#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkorotkov authored Nov 10, 2023
1 parent 1615174 commit b96ba80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/restful-api/security/signing-the-response.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Currently, response signing setup is only possible via direct call to the NetLic

### 1. Create public/private RSA key pair
NetLicensing currently only supports RSA algorithm for the keys, we recommend to use at least 2048 bits key length. Other algorithms may
be added in the future. The key should be in PEM format, without any additional text information.
be added in the future. The key should be in PKCS#8 PEM format, without any additional text information.

<div>Generating key pair</div>
{: .code-example .ml-5 .code-header }
Expand All @@ -60,7 +60,7 @@ wvc3k5g5kqc=

### 2. Create an API Key with the attached RSA private key

Create a token with the type `APIKEY`, setting the property `privateKey` to the content of your private key (PEM headers, footers,
Create a token with the type `APIKEY`, setting the property `privateKey` to the content of your private key (headers, footers,
and line breaks can be omitted). Since this API Key will only be used for the licensee validate call, also limit its access
by assigning the 'ROLE_APIKEY_LICENSEE' role, although it is not required for the signature.

Expand Down

0 comments on commit b96ba80

Please sign in to comment.