mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
plugin_signing.md: formatting
This commit is contained in:
parent
d058a5f595
commit
8ad10160d4
@ -44,7 +44,7 @@ Both methods require a private certificate key to be already present.
|
||||
|
||||
### Generate Private Key
|
||||
|
||||
To generate an RSA `private.pem` private key, run the `openssl genpkey` command in the terminal, as below:
|
||||
To generate an RSA <path>private.pem</path> private key, run the `openssl genpkey` command in the terminal, as below:
|
||||
|
||||
```bash
|
||||
openssl genpkey\
|
||||
@ -54,10 +54,10 @@ openssl genpkey\
|
||||
-pkeyopt rsa_keygen_bits:4096
|
||||
```
|
||||
|
||||
At this point, the generated `private.pem` content should be provided to the `signPlugin.privateKey` property.
|
||||
At this point, the generated <path>private.pem</path> content should be provided to the `signPlugin.privateKey` property.
|
||||
Provided password should be specified as the `signPlugin.password` property in the `signPlugin` configuration.
|
||||
|
||||
As a next step, we'll generate a `chain.crt` certificate chain with:
|
||||
As a next step, we'll generate a <path>chain.crt</path> certificate chain with:
|
||||
|
||||
```bash
|
||||
openssl req\
|
||||
@ -68,7 +68,7 @@ openssl req\
|
||||
-out chain.crt
|
||||
```
|
||||
|
||||
The content of the `chain.crt` file will be used for the `signPlugin.certificateChain` property.
|
||||
The content of the <path>chain.crt</path> file will be used for the `signPlugin.certificateChain` property.
|
||||
|
||||
### Gradle IntelliJ Plugin
|
||||
|
||||
@ -184,7 +184,7 @@ publishPlugin {
|
||||
</tab>
|
||||
</tabs>
|
||||
|
||||
In the _Run/Debug Configuration_ for `publishPlugin` Gradle task, provide _Environment Variables_ using relevant environment variable names:
|
||||
In the <control>Run/Debug Configuration</control> for `publishPlugin` Gradle task, provide <control>Environment Variables</control> using relevant environment variable names:
|
||||
|
||||

|
||||
|
||||
@ -193,7 +193,7 @@ In the _Run/Debug Configuration_ for `publishPlugin` Gradle task, provide _Envir
|
||||
CLI tool is required if you don't rely on the Gradle IntelliJ Plugin – i.e. when working with Themes.
|
||||
|
||||
To get the latest Marketplace ZIP Signer CLI Tool, visit the [JetBrains/marketplace-zip-signer](https://github.com/JetBrains/marketplace-zip-signer/releases) GitHub Releases page.
|
||||
After downloading the `zip-signer-cli.jar`, execute it as below:
|
||||
After downloading the <path>zip-signer-cli.jar</path>, execute it as below:
|
||||
|
||||
```bash
|
||||
java -jar zip-signer-cli.jar sign\
|
||||
|
Loading…
x
Reference in New Issue
Block a user