wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
846 stars 785 forks source link

Sign APIKey JWT using a different keystore other than default #8448

Closed dushaniw closed 3 years ago

dushaniw commented 4 years ago

Describe your problem(s)

In APIKey feature, JWT is always signed using the default Keystore in devportal. There could be usecase, where apikey needs to be signed using a different keystore for different reasons.

Describe your solution

Provide a config to give the private key alias in api-manager.xml to sign the APIKey.

dushaniw commented 3 years ago

@Ketharan Have we added this improvement to laster master?

malinthaprasan commented 3 years ago

Fixed from PR https://github.com/wso2/carbon-apimgt/pull/9485.

wasuradananjith commented 3 years ago

Fixed from PR wso2/carbon-apimgt#9485.

A small correction. This is fixed via https://github.com/wso2/carbon-apimgt/pull/9256 in master, not with https://github.com/wso2/carbon-apimgt/pull/9485.