DEV Community

khalil la
khalil la

Posted on • Edited on

No more PEM files in Spring Boot – Load SSL certs straight from Vault

Hey folks,

I made a small library that lets your Spring Boot app load SSL certificates directly from HashiCorp Vault — no need to download or manage .crt/.key files yourself.

🔗 Code: https://github.com/gridadev/spring-vault-ssl-bundle

🧪 Demo: https://github.com/khalilou88/spring-vault-ssl-bundle-demo

It works with Spring Boot's built-in ssl.bundle config (3.2+). Just point it to your Vault path in YAML and you're done.

✅ No file handling

✅ No scripts

✅ Auto-ready for cert rotation

✅ Works for client and server SSL

Try it out and let me know what you think!

Top comments (0)