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

Support RSA Keys #335

Open
drewwells opened this issue Mar 26, 2024 · 3 comments
Open

Support RSA Keys #335

drewwells opened this issue Mar 26, 2024 · 3 comments

Comments

@drewwells
Copy link

drewwells commented Mar 26, 2024

I'm trying to point a bundle at an RSA Private key ie.

-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----

Unfortunately, trust-manager only supports der formatted keys and not pem. I thought perhaps I could load my private key into cert-manager since it's more flexible to convert this into a format that trust-manager supports, but external secrets is blocked on evidence cert-manager/cert-manager#2507.

Is there any way to source RSA private/public keys for distributing via trust-manager?

@drewwells
Copy link
Author

Log message

 trust/manager/events "msg"="Failed to build bundle sources: invalid PEM data in source: invalid PEM block in bundle; invalid PEM certificate: invalid PEM block in bundle: only CERTIFICATE blocks are permitted but found 'RSA PRIVATE KEY'"

@erikgb
Copy link
Contributor

erikgb commented Mar 26, 2024

Why do you want to source a private key?

@drewwells
Copy link
Author

I want to publish a public key across all namespaces matching a private key that I provisioned. I can source private or public key

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