FIPS and PKCS12
#23065
Replies: 2 comments
-
Don't have anything to add on the code part, but I would also be interested in a FIPS binary |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @rf-ben, FIPS is not properly supported yet because some component rely on Here are some relevant links:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Everyone,
We’re creating a vector image for FIPS use and have a problem that we’d like some thoughts on.
The system is configured with the openssl
base
andfips
providers, and is running on a FIPS enabled kernel. TLS is configured with an appropriate certificate & key.When we run it, we see this:
The hypothesis is that the code tries to repackage the certificate and key into a PKCS12 container, and it implicitly wants to us SHA-1 to sign the key. This is not supported under FIPS.
The relevant source code is here:
vector/lib/vector-core/src/tls/settings.rs
Line 438 in 1e7da76
We’d like to work around this problem - the openssl package for rust does not let you specify a different MAC algorithm as far as we can tell, and it does not look like we can, for example, supply a stronger MAC PKCS12 container directly instead of the PEM certificate & key.
Would like to hear your thoughts on this. Also, if it’s straightforward to avoid this in code, we’re happy to assist/provide you some changes.
Appreciate any guidance you may have.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions