docs: public void setIgnoreCertificateErrors(boolean ignoreCertificateErrors) {
  
          if (this.ignoreCertificateErrors == ignoreCertificateErrors) {
              return;
          }
  
          if (!ignoreCertificateErrors) {
  
              this.ignoreCertificateErrors = false;
              openSslContext = null;
              openHostnameVerifier = null;
              apiClient = null;
  
          } else {
  
              if (setupIgnoreCertificateErrors()) {
                  this.ignoreCertificateErrors = true;
                  apiClient = null;
              } else {
                  this.ignoreCertificateErrors = false;
                  apiClient = null;
                  throw new RuntimeException("Unable to ignore certificate errors.");
              }
          }
      }