Hello,
I did fresh installation of Avamar and installed rest api RPM successfully . I am getting following error when using restCLI.pl. I can connect rest services via POSTMAN without any issue, i am sure that rest service is working correctly. I guess i have an issue relevant certificate of rest services because of using putty.
When i look file named http.pm Line 57, i found something like this ;
You can disable hostname check by setting “. “environment variable PERL_LWP_SSL_VERIFY_HOSTNAME=0”;
does anybody knows that how to solve this issue ?
1) Login
2) Logout
3) Provider Operations
4) Tenant Operations
98) Debug
99) Exit
1
Enter Server: 100.100.100.100
Enter Username: admin
Enter Password: Password123
Logging In
HEADER->Accept: application/json;version=1.0
HEADER->Authorization: Basic YnRtxW46VvJXdhdfmUxsdfIWNwerlbGwwer=
HEADER->Content-Type: application/xml;version=1.0
REQUEST->POST: https://100.100.100.100:8543/rest-api/login
HEADER->Accept: application/json;version=1.0
HEADER->Authorization:
HEADER->Content-Type: application/xml;version=1.0
RESPONSE CODE: 500 (INVALID)
RESPONSE: Can’t connect to 100.100.100.100:8543
LWP::Protocol::https::Socket: SSL connect attempt failed because of handshake problemserror:00000000:lib(0):func(0):reason(0) at /usr/lib/perl5/vendor_perl/5.10.0/LWP/Protocol/http.pm line 57, <> line 7.
Login failed