Hi Divyush,

The bootJar task of gradle just creates the jar and ignores the above
environment variables.

You need to provide those environment variables when you start up the
created jar e.g.: using the bootRun task you can use the following
command:

[image: image.png]

Starting up like that, I was able invoke the server on port 8080 without
SSL:
[image: image.png]

Regards, Peter

On Mon, Nov 20, 2023 at 8:08 AM Divyush Raj <rajdivy...@gmail.com> wrote:

> Hi, I am unable to access the '
> https://35.244.48.44:8443/fineract-provider/api/v1/offices ' while
> running on wrapper API that i am building. because by default fineract
> backend is ssl enabled.
>
> So i tried disabling ssl by:
> 1) setting export FINERACT_SERVER_SSL_ENABLED=false
> 2)  export FINERACT_SERVER_PORT=8080
>
> and rebuild fineract using : ./gradlew clean bootJar -x test
>
> But, still only https is working and not http.
>
> Please advice
>
> Thanks and regards
> Divyush
>

Reply via email to