Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide explains how to generate RSA key pairs for your fineract-cn-* service using the org.apache.fineract.cn.provisioner service

Step-by-step guide to generate RSA Keys

  1. Go to your application.yml file

...

  1. create the following properties 
    system.publicKey:
    modulus:
      exponent:
      timestamp:
    system.privateKey:
       modulus:
    exponent:
    system:
    initialclientid: sillyRabbit // this is the default clientid
  2.  From your Service package, go to the test>java>org.apache.fineract.cn.provisioner > GenerateRsaKeyPair run the Unit Test and
  3. Console both public and private key Modulus and Exponent
  4. The timestamp should be current unix timestamp
  5. Copy the values from step 3 above to replace the properties created in step 1.


    You can as well do this at run time

...