Skip to content

Export public key from WSO2 keystore #11

@ntk148v

Description

@ntk148v

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions