Skip to content
Oauth2 with Spring: explained as you were a 5-year-old
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
oauth2-authorization-server
oauth2-resource-server
.gitignore
LICENCE.md
README.md

README.md

Generate jks (key store) file

keytool -genkeypair -alias jwt -keyalg RSA -dname "CN=jwt, L=Berlin, S=Berlin, C=DE" -keypass password -keystore jwt.jks -storepass password

Get the public key

keytool -list -rfc --keystore jwt.jks | openssl x509 -inform pem -pubkey

You can’t perform that action at this time.