Package nxt.util
Class SslKeyStoreGenerator
java.lang.Object
nxt.util.SslKeyStoreGenerator
Generates a local JKS keystore for secured server. A local certificate authority is generated and its certificate is
additionally stored in DER format for easier import as trusted CA. The CA private key is thrown away immediately
after signing the server certificate so that it cannot be used again
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Method Summary
-
Field Details
-
IP_PREFIX
- See Also:
-
-
Method Details
-
generate
-
getCaCertPath
Utility method for getting the path to the CA certificate having the keystore path- Parameters:
keyStorePath- Keystore path- Returns:
- CA certification path
-
main
-