Aaron Hiltgen created CMIS-1081:
-----------------------------------

             Summary: PortCMIS Self-Signed Certs
                 Key: CMIS-1081
                 URL: https://issues.apache.org/jira/browse/CMIS-1081
             Project: Chemistry
          Issue Type: Bug
          Components: portcmis
    Affects Versions: PortCMIS 0.3.0
            Reporter: Aaron Hiltgen


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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to