views:

57

answers:

3

I'm working with java keystores for the first time. Is there a standard extension / suffix for a keystore? Are they typically named .ks? If it's a java keystore am I supposed to use .jks? I would like to follow a naming convention if one is generally accepted.

+1  A: 

For Java keystores, IBM appears to suggest .jks

See here that when specifying Java keystore settings, they use .jks as the extension.

Jan Gorzny
A: 

A format key must be converted into .jks format for use in the J2EE SDK.

Saifuddin
+1  A: 

It depends on the key store type. The default type for Java is JKS so .jks makes sense. Other key store types exist such as PKCS12. Typical file extensions for PKCS12 key stores are .p12 and .pfx. Looking at the file extensions in the open file window for Portecle, it considers .ks, .jks, .jceks, .p12, .pfx, .bks, and .ubr as possibilies. I've only ever encountered .jks, .p12, and .pfx myself however.

laz