Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

OR-306: Fix PermTrustOption setup #278

Merged
merged 1 commit into from
Aug 6, 2019

Conversation

lucassaldanha
Copy link
Member

We were adding the CA certificates using the wrong Vertx config. We were adding the CA certificates as if they were a "regular" certificate, what was causing the complaint about invalid key.

I've found on the docs the right way to do it: https://vertx.io/docs/vertx-core/dataobjects.html#PemTrustOptions

@macfarla macfarla changed the title OR-306: Fix PemTrustOption setup OR-306: Fix PermTrustOption setup Aug 6, 2019
}
options.setPemTrustOptions(pemTrustOptions);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: now that it's more than two lines it looks like dupe

Copy link
Member Author

Choose a reason for hiding this comment

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

It is using Vertx builders. I don't think we'll get a lot from abstracting it into a separate class atm.

@lucassaldanha lucassaldanha merged commit 5ee7977 into Consensys:master Aug 6, 2019
@lucassaldanha lucassaldanha deleted the OR-306 branch August 6, 2019 04:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants