Skip to content

Conversation

@kavindasr
Copy link

Purpose

Currently, we only support JKS keystores in apiclt secret commands. However, we identified an issue where, in the 4.4.0 and 4.5.0 packs, the default bundle keystore is PKCS12. As a result, if someone tries to use wso2carbon.jks to encrypt secrets, the operation will fail.

Goals

To resolve this issue, we need to update apictl to support both JKS and PKCS12 keystores.

Approach

  • Introduce methods to read PKCS12 keystores.
  • After reading the keystore, check its type and pass it to the appropriate function.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@npamudika
Copy link
Contributor

Generate the doc changes by running go run tools/gen.go and commit the changes as well.

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

Successfully merging this pull request may close these issues.

3 participants