Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export public key from WSO2 keystore #11

Open
ntk148v opened this issue Sep 28, 2021 · 0 comments
Open

Export public key from WSO2 keystore #11

ntk148v opened this issue Sep 28, 2021 · 0 comments

Comments

@ntk148v
Copy link
Owner

ntk148v commented Sep 28, 2021


title: Export public key from WSO2 keystore
path: wso2/export-pub-key-from-keystore.md

  1. By default, the WSO2 Identity Server keystore is located at <IS_HOME>/repository/resources/security/wso2carbon.jks.
  2. Convert keystore to pkcs12 format. Default password is wso2carbon.
keytool -importkeystore -srckeystore wso2carbon.jks -destkeystore wso2carbon.jks -deststoretype pkcs12
  1. Export public key which can be used to validate JWT Token generated by WSO2.
keytool -export -rfc -alias wso2carbon -keystore wso2carbon.jks -file pub.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant