Skip to content

Add an option to disable certificates verification#26

Open
CryptoPascal31 wants to merge 1 commit intomasterfrom
no_certs_verif
Open

Add an option to disable certificates verification#26
CryptoPascal31 wants to merge 1 commit intomasterfrom
no_certs_verif

Conversation

@CryptoPascal31
Copy link
Copy Markdown

This PR adds a config option to disable certs verification.
I included a warning message, when the option is enabled.

This is currently the version I use on several of my nodes to workaround the "PoolFlare issue"

I think, this PR should be merged.. Even if it's not intended to be used in “production case”, it's very convenient to allow bypassing certs verification when absolutely needed.

For the record, it appears that “mocking” the certificate cache, as we do in Chainweb:

validationCache TlsInsecure = ValidationCache

is sufficient and is the right way to disable Cert verifications ...

It's exactly implemented in the same way in the “connection” library when dealing with TLSSettingsSimple.

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