Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-1081

PortCMIS Self-Signed Certs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • PortCMIS 0.3.0
    • None
    • portcmis
    • None

    Description

      Currently there is no way to set PortCMIS to accept self-signed server certificates for testing purposes. There should be a session parameter to allow self-signed certificates.

      Stack Trace:

       
         Error Message:
          PortCMIS.Exceptions.CmisConnectionException : Cannot access URL: One or more errors occurred. (The SSL connection could not be established, see inner exception.)
      ---- System.AggregateException : One or more errors occurred. (The SSL connection could not be established, see inner exception.)
      -------- System.Net.Http.HttpRequestException : The SSL connection could not be established, see inner exception.
      ------------ System.Security.Authentication.AuthenticationException : The remote certificate is invalid according to the validation procedure.
          Stack Trace:
             at PortCMIS.Binding.Http.DefaultHttpInvoker.Invoke(UrlBuilder url, HttpMethod method, HttpContent content, IBindingSession session, Nullable`1 offset, Nullable`1 length, IDictionary`2 headers)
         at PortCMIS.Binding.Http.DefaultHttpInvoker.InvokeGET(UrlBuilder url, IBindingSession session)
         at PortCMIS.Binding.Browser.AbstractBrowserBindingService.Read(UrlBuilder url)
         at PortCMIS.Binding.Browser.AbstractBrowserBindingService.GetRepositoriesInternal(String repositoryId)
         at PortCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfos(IExtensionsData extension)
         at PortCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters, IObjectFactory objectFactory, IAuthenticationProvider authenticationProvider, ICache cache)
         at PortCMIS.Client.Impl.SessionFactory.GetRepositories(IDictionary`2 parameters)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ahiltgen Aaron Hiltgen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: