Forum Discussion

Former_Member's avatar
Former_Member
Accelerator III
8 years ago

Error with saving files to vault when using HTTPS

My instance of Innovator 11 is running using HTTPS. Everything so far has worked fine however when I go to save a file in the vault I get stuck with a loading screen:    After a bit of troubleshooting i updated VaultServerConfig.xml with https (instead of http) for AppServerURL: <?xml version="1.0" encoding="UTF-8"?> <VaultServer> <AppServerURL>localhost/.../AppServerURL> <LocalPath>C:\Aras\Vault\</LocalPath> <login_name>vadmin</login_name> <name>Default</name> <password>vadmin</password> <version>11.0.0</version> </VaultServer> This let me get a bit farther where i get another error: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 2018-01-16 11-48-08 Exception In Background Thread Exception Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Stack Trace: at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) at Aras.Server.Vault.Utils.UtilsImplementation.EndRequestStreamCallback(IAsyncResult asyncResult) in D:\Builds\Innovator\6549-RELS11-0-SP9\Innovator.git\Innovator\CompilableCode\Aras.Server.Vault\Utils\UtilsImplementation.cs:line 254 at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.ContextAwareResult.Complete(IntPtr userToken) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken) at System.Net.HttpWebRequest.SetResponse(Exception E) at System.Net.ConnectStream.ProcessWriteCallDone(ConnectionReturnResult returnResult) at System.Net.ConnectStream.CallDone(ConnectionReturnResult returnResult) at System.Net.ConnectStream.IOError(Exception exception, Boolean willThrow) at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken) at System.Net.TlsStream.ResumeIOWorker(Object result) at System.Net.TlsStream.WakeupPendingIO(IAsyncResult ar) at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken) at System.Net.Security.SslState.FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest) at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result) at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes) at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult) at System.Net.LazyAsyncResult.Complete(IntPtr userToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.ContextAwareResult.Complete(IntPtr userToken) at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) I thought maybe i had to install the ssl cert in the trusted certificate on the server itself but no luck.  Any ideas?    

1 Reply

  • I solved it. The ssl cert i generated for the the site is for the CNAME so if you try and access services from localhost you get the ssl error.   Solution is to use FQDN that the cert was generated in VaultServerConfig.xml : <AppServerURL>cname.domain.tld/.../AppServerURL>