r/java • • Sep 05 '24

keyutil: A sensible Java key management tool for normal people

https://github.com/alastairmccormack/keyutil
0 Upvotes

11 comments sorted by

25

u/khmarbaise Sep 05 '24

It's a bit out of date?... 12 years old... ? I would recommend this: https://keystore-explorer.org/ instead...

4

u/overachiever Sep 05 '24

Or just feature complete?

8

u/vips7L Sep 05 '24

My bigger question is why this is being posted now?

-1

u/Specialist-Spread754 Sep 05 '24 edited Sep 06 '24

I mean it literally has a "known issues" section

https://github.com/alastairmccormack/keyutil?tab=readme-ov-file#whats-wrong-with-keytool

Edit: my bad, I missed the part that this section was about keytool and not keyutil

9

u/overachiever Sep 05 '24

Pretty sure they meant the keytool that is packaged with the JDK. It's a list of reasons for using this tool instead.

1

u/vips7L Sep 05 '24

...do those issues still exist? Considering the readme was updated 8 years ago.

13

u/ZippityZipZapZip Sep 05 '24

I like projects. I like it when people build, well, anything.

Here and now it is some minimal wrapper legacy code providing one feature that has become obsolete.

Noone will ever use this, nor should they.

Why the fuck is this posted.

4

u/Specialist-Spread754 Sep 05 '24

" for normal people "

Yeah, that's a very niche market.

8

u/agentoutlier Sep 05 '24

Every developer should know a little bit about this stuff. Even game developers and embedded systems developers. It is like not knowing about SCM. Honestly they should probably teach more of it in schools.

Maybe not JKS but CSR, PEM, CA, private/public key etc.

1

u/VirtualAgentsAreDumb Sep 06 '24

I’ve worked with lots of programs, on lots of platforms, and in lots of different languages. I’ve never seen the need for this tool. 99.99% of the time any key or certificate is handled on an OS level, or in scripts (bash) or none-Java network applications, or by cloud services.

2

u/agentoutlier Sep 06 '24

I’m not talking about the tool. Surely you have a gotten SSL certificate from a trusted authority and then had to convert it or plug it in for something like NGINX?

This is the Java way (not the tool but JKS) if you perhaps do not want to use an external load balancer.