Web service - failed certificate verification

Moderator: crythias

Locked
fpaco
Znuny newbie
Posts: 17
Joined: 18 Aug 2017, 14:45
Znuny Version: OTRS 6s Patch Level

Web service - failed certificate verification

Post by fpaco »

Hello all,

We are facing difficulties to setup a web service in OTRS. OTRS should contact other tools through REST API but trying to do so, we got the following in our logs:
Response content: 'Can't connect to archer-val.steria.fr:443 (certificate verify failed)

Code: Select all

Response content: 'Can't connect to my-fqdn.org:443 (certificate verify failed)

LWP::Protocol::https::Socket: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed at /opt/otrs/Kernel/cpan-lib/LWP/Protocol/http.pm line 46.
'
We tried to add the faulty certificate (which is self signed) to the trust store of the server (running CentOS 7). Running a curl command on the server was successful but we still get the above-mentioned error in OTRS.

Would you have a hint to solve this?

Thanks in advance
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Web service - failed certificate verification

Post by jojo »

what name does the the certificate have and is it readable by the otrs and webserver user? Are you using actual versions of LWP::UserAgent and IO::Socket::SSL?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked