Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
PortCMIS 0.3.0
-
None
-
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)