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

runtime certificates loading for truststore #132

Open
dmikusa opened this issue Jan 17, 2022 · 3 comments
Open

runtime certificates loading for truststore #132

dmikusa opened this issue Jan 17, 2022 · 3 comments
Labels
semver:patch A change requiring a patch version bump type:bug A general bug

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Jan 17, 2022

From @neoludo via spring-attic/spring-native#1434

HI there,

I've followed instructions at https://paketo.io/docs/howto/configuration/#ca-certificates to add certificates at runtime.
I can see that log at startup :
Added 3 additional CA certificate(s) to system truststore

But when I'm listing certificates from inside my app, I dont see the 3 added certificates...
It seems that build-time truststore is used....
I should have missed a step.

Can anyone help me, plz ?

Thanks
Ludo

@dmikusa dmikusa added semver:patch A change requiring a patch version bump type:bug A general bug labels Jan 17, 2022
@dmikusa
Copy link
Contributor Author

dmikusa commented Jan 17, 2022

In the context of native image, it seems like we are missing something that is causing trusted certificates to not be loaded at runtime.

GraalVM has some specific behaviors for loading trusted certificates. We need to validate this with the general advice that we give to users about setting certificates in container images built by buildpack (i.e. bindings & ca-certificates CNB).

We should also validate with both GraalVM and Bellsoft Liberica NIK to ensure consistent behavior across both.

@sshemirani
Copy link

Hello, did you guys manage to do anything about this? Because the issue still exist!

@eidottermihi
Copy link

Can confirm the issue still exists. currently blocks the usage of native images with buildpacks if you rely on the ability to provide CA certificates at runtime :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants