November 2017
Intermediate to advanced
542 pages
14h 24m
English
In order to create a secure JWT encoded signature, we will create a custom RSA keystore that we will use to create a custom o.s.s.OAuth 2.provider.token.storeJwtAccessTokenConverter interface:
$ keytool -genkey -alias jbcpOAuth 2client -keyalg RSA \-storetype PKCS12 -keystore jwtConverterStore.p12 \-storepass changeit \-dname "CN=jwtAdmin1@example.com,OU=JBCP Calendar,O=JBCP,L=Park City,S=Utah,C=US"
This will create a PKCS12 certificate called jwtConverterStore.p12, which needs to be copied into the ./src/main/resources/key directory.
Read now
Unlock full access