-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.4.1: Adds SSL renewal, AccountResolver and upgrades config
- Loading branch information
Showing
41 changed files
with
1,524 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
`yourdlt renewCertificates` | ||
=========================== | ||
|
||
It renews the SSL certificates of the node regenerating the node.csr.pem files but reusing the current private keys. | ||
The certificates are only regenerated when they are closed to expiration (30 days). If you want to renew anyway, use the --force param. | ||
This command does not change the node private key (yet). This change would require a harvesters.dat migration and relinking the node key. | ||
It's recommended to backup the target folder before running this operation! | ||
|
||
* [`yourdlt renewCertificates`](#yourdlt-renewcertificates) | ||
|
||
## `yourdlt renewCertificates` | ||
|
||
``` | ||
USAGE | ||
$ yourdlt renewCertificates | ||
OPTIONS | ||
-c, --customPreset=customPreset This command uses the encrypted addresses.yml to resolve the main and transport | ||
private key. If the main and transport privates are only stored in the custom preset, | ||
you can provide them using this param. Otherwise, the command may ask for them when | ||
required. | ||
-h, --help It shows the help of this command. | ||
-t, --target=target [default: target] The target folder where the symbol-bootstrap network is generated | ||
-u, --user=user [default: current] User used to run docker images when generating the certificates. | ||
"current" means the current user. | ||
--force Renew the certificates even though they are not close to expire. | ||
--noPassword When provided, Bootstrap will not use a password, so private keys will be stored in | ||
plain text. Use with caution. | ||
--password=password A password used to encrypt and decrypt private keys in preset files like | ||
addresses.yml and preset.yml. Bootstrap prompts for a password by default, can be | ||
provided in the command line (--password=XXXX) or disabled in the command line | ||
(--noPassword). | ||
DESCRIPTION | ||
The certificates are only regenerated when they are closed to expiration (30 days). If you want to renew anyway, use | ||
the --force param. | ||
This command does not change the node private key (yet). This change would require a harvesters.dat migration and | ||
relinking the node key. | ||
It's recommended to backup the target folder before running this operation! | ||
EXAMPLE | ||
$ yourdlt renewCertificates | ||
``` | ||
|
||
_See code: [src/commands/renewCertificates.ts](https://github.com/usingblockchain/yourdlt/blob/v1.4.1/src/commands/renewCertificates.ts)_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.