Hello everyone,

Been a few months away from actively “toying” with Fineract. And I’m glad to 
see a lot of work has been put into the project. Ibe got two questions to ask. 

First, I see that the binary comes with pre-built versions of .jar and .war 
which now simplifies the deployment of a fineract instance. I see that 
deploying with the .jar is the recommended solution. However this does require 
that the backend database (mysql in my case) already has the tenants and 
default databases. How do I create these without having to clone the project 
and run 
./gradlew createDB -PdbName=fineract_tenants
./gradlew createDB -PdbName=fineract_default
Second question, for both the jar and the war, where is the self-signed 
certificate located? I am trying to build a php frontend from scratch and I 
need the script to know the location of the self-signed certificate using 

'cafile' => '/path/to/your/certificate.crt'

for my very basic login page to successfully login using basic authentication. 
I am able to query the

https://DomainName/fineract-provider/api/v1/authentication?tenantIdentifier=default

api with Postman by turning off SSL verification under Settings > Enable SSL 
certificate verification. 

My rudimentary PHP login page throws the following error: 
file_get_contents): SSL operation failed with code 1. OpenSSL Error 
messages:error:1r16F086,SSL 
routines:tls_process_server_certificate_:certificate verify failed

 and I'm looking to get it solved.

TIA


Reply via email to