I am using RestClient to call external RestAPI and run into below error:
SSL Exception: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
The thread debug log:
01/03/2022 12:28:39 DEBUG new restclientSecure: host api.smartsheet.com port 443 uri /2.0/users/me
01/03/2022 12:28:39 DEBUG restclient: send GET request, no content
01/03/2022 12:28:39 DEBUG restclient: Invalid Certificate: unable to get local issuer certificate errnum=20
SubjectName=/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./CN=Starfield Services Root Certificate Authority - G2IssuerName=/C=US/O=Starfield Technologies, Inc./OU=Starfield Class 2 Certification Authority
01/03/2022 12:28:39 DEBUG restclient: finish request threw exception 0 message SSL Exception: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
The API being called is Smartsheet API, which is hosted on AWS I believe.
The same code works on CS16.2.11. What I need to do to make it still working on CS 21.3?