Help Center/ Optical Character Recognition/ FAQs/ SDK/ How Can I Fix an SSL Configuration Error?
Updated on 2023-12-29 GMT+08:00

How Can I Fix an SSL Configuration Error?

Java SDK

The SSL configuration is optional, and you can determine whether SSL certificate verification is required based on your specific needs. See details below:

// Configure whether to skip SSL certificate verification as needed.
// If the "javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure" error is reported during SDK execution, add the config.withIgnoreSSLVerification(true) code to skip SSL certificate verification.

Other SDKs

Table 1 Fixing SSL configuration errors

Programming Language

Fixing SSL Configuration Error

Python

See Python SDK.

Node.js

See Node.js SDK.

PHP

See PHP SDK.

C++

See C++ SDK.

Go

See Go SDK.

.NET SDK

See .NET SDK.