Open david-buderus opened 3 years ago
We can generate a Public-Private KeyPair using openssl. We then need to encode the public and private key so it can be read by Java. This is illustrated here. In our application we obtain a PublicKey
or PrivateKey
object which can used by our jwt library.
Is your feature request related to a problem? Please describe. It would be much cleaner to use a public key to check a signature, so we don't need to spread the private key to every service.