How to call REST API(PHP client) when SSL configured on jasper server

Hi All,

I want to call REST API(PHP client) when SSL configured on jasper server. My code as follows 

return [
    'url' => 'http://localhost:8443/jasperserver/flow.html?_flowId=homeFlow',
    'restApi' => [
        'class' => 'app\components\jaspersoft\RestApiClient',
        'url' => 'http://localhost:8443/jasperserver',
        'username' => 'jasperadmin',
        'password' => 'jasperadmin',
        #'organization' => 'organization_1',
    ]
];

Error : An unexpected HTTP status code was returned by the server#0

Versions :

Jasper Server  : 6.4.3 (Distributed)

Tomcat : 8.5.29

Mysql : 5.7

SSL : APR Native

PHP  : 5.6.36 
 

avinash.rajguru's picture
Joined: Dec 28 2016 - 5:19am
Last seen: 5 years 2 weeks ago

0 Answers:

No answers yet
Feedback