Skip to content

an example to create a virtual keystore and use own certificates generated with easyrsa or openssl to encrypt java rmi (the same technique could be used for any kind of ssl socket)

License

Notifications You must be signed in to change notification settings

soulan/JavaRMIWithCustomCA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaRMIWithCustomCA

an example to create a virtual keystore and use own certificates generated with easyrsa or openssl to encrypt java rmi (the same technique could be used for any kind of ssl socket)

Environment variables can be set to control the used certificates in this example

For Client

  • CA_CERT - ca cert should be the same for client and server
  • CLIENT_KEY - used as key for HelloClient
  • CLIENT_CERT - used as cert for HelloClient

For Server

  • CA_CERT - ca cert should be the same for client and server
  • SERVER_KEY - used as key for RMIRegistry
  • SERVER_CERT - used as cert for RMIRegistry

About

an example to create a virtual keystore and use own certificates generated with easyrsa or openssl to encrypt java rmi (the same technique could be used for any kind of ssl socket)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages