Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to disable certificate encryption #2218

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

zkokelj
Copy link
Contributor

@zkokelj zkokelj commented Dec 20, 2024

Why this change is needed

At the moment we always encrypt our https certificate. In case we need to do hard redeploy (often during testing different things) we need to request the certificate again from LetsEncrypt. It also has some weekly limits that we started to hit.
By using unencrypted certificate it can be used over redeploys even in case when the encryption key is lost/changed due to a redeploy of a whole VM.
This flag should be set to true in mainnet, but for testnets we can use the default value (false).

What changes were made as part of this PR

  • new flag that can disable certificate encryption & decryption on testnets.

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link
Collaborator

@tudor-malene tudor-malene left a comment

Choose a reason for hiding this comment

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

lgtm

@zkokelj zkokelj merged commit a12a05d into main Dec 20, 2024
1 of 2 checks passed
@zkokelj zkokelj deleted the ziga/gateway_flag_store_cert_unencrypted branch December 20, 2024 11:09
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.

2 participants