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

0.7.3 has issues with a Java Key Store file #112

Open
zrleblanc opened this issue Dec 11, 2024 · 2 comments
Open

0.7.3 has issues with a Java Key Store file #112

zrleblanc opened this issue Dec 11, 2024 · 2 comments

Comments

@zrleblanc
Copy link

Setting VAULT_CAPATH= and the directory contains a Java Key Store causes 0.7.3 to panic. I can downgrade to 0.7.2 and it works fine.

[2024-12-11T02:20:52Z ERROR vaultrs::client] error=Error parsing CA certificate as PEM encoded certificate: /etc/ssl/certs/cacerts.jks
thread 'main' panicked at /home/rleblanc/code/common/src/config/root_config.rs:59:14:
Could not get secrets from the vault: Error parsing CA certificate as PEM encoded certificate: /etc/ssl/certs/cacerts.jks

Caused by:
    0: builder error
    1: error:0480006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:763:Expecting: CERTIFICATE
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@stormshield-gt
Copy link
Collaborator

Hello @zrleblanc, thanks for reporting this!

Do you have a reproduction case I can work on?

@zrleblanc
Copy link
Author

@stormshield-gt , please send me an e-mail at robert@leblanc.us and I can send you the file. Since it's our corporate CAs, I'd prefer to not put them in a public form.

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

No branches or pull requests

2 participants