API Gateway - JWT : "errorDetails": " Transport protocol must be HTTPS."

I have been trying to retrieve a JWT token from API Gateway 10.5

I keep getting

{

    "errorDetails": " Transport protocol must be HTTPS."

}

Even disabled the require HTTPS

image

I was able to get past this error by setting the below [pg_JWT_isHTTPS to false]

image

But now I got a new error

{

    "errorDetails": "com.wm.app.b2b.server.ServiceException:  JWT configuration is empty"

}

Any suggestions?

Configured JWT keystore and after that it worked