Skip to content

Conversation

@JumpLink
Copy link

I have upgrade greenlock (and this plugins) to v4 to get redbird working on Node 14.

This has other advantages, greenlock renews the certificates by itself, so the renewal logic can be removed (but I didn't do it to not break anything and to stay downward compatible).

Other changes:

  • Pretty logging with Pino
  • Upgrade more dependencies

Copy link
Member

@manast manast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the PR, highly appreciated.

@JumpLink
Copy link
Author

Okay nice @manast, with my last commit I have also removed the renew logic but kept the parameters of the updateCertificates method and marked them as deprecated

@JumpLink
Copy link
Author

@manast Greenlock requires two config files:

  • greenlock.d/config.json
  • .greenlockrc

which are automatically generated by Greenlock if they are not found. Before my last commit they were created in the node_modules/redbird folder, which could cause some problems, so now I have changed it to the project root directory using the npm find-root module.

I hope everything works now. I would be happy about improvements, tests and feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants