wso2 / docs-is

Apache License 2.0
63 stars 314 forks source link

[Doc] -Dallow_weak_rsa_signer_key parameter is not mentioned in the documentation. #1899

Open Senthuran100 opened 4 years ago

Senthuran100 commented 4 years ago

Description: When we use the keysize as 1024 for the internal keystone(wso2carbon.jks) we are getting an error

The RSA key size must be at least 2048 bits java.lang.IllegalArgumentException: The RSA key size must be at least 2048 bits

In order to resolve that issue need to start the server using the below command. sh wso2server.sh -Dallow_weak_rsa_signer_key=true The above information is missing in the documentation and old version(i.e IS 5.7.0 and IS 5.8.0) are using 1024 as keysize for the internal keystore. It seems the latest version uses 2048. So if we use the same wso2carbon.jks we are able to reproduce the issue.

Suggested Labels: IS-5.10.0

LayaniMal commented 6 months ago

Hi Team,

If this is applicable, shall we update the documents as suggested?

Regards, Layani