SlickUpload
Welcome Guest Search | Active Topics | Log In | Register

SSL Problem Options
kev43barrie
#1 Posted : Friday, November 18, 2011 9:43:24 AM
Rank: Newbie

Groups: Registered

Joined: 11/16/2011
Posts: 4
Location: Home

I keep on getting -

DEBUG MESSAGE: Request progress handler (/SlickUpload.axd) exception: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)\r\n at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)\r\n at System.Threading.ExecutionContext.runTryCode(Object userData)\r\n at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)\r\n at System.Net.TlsStream.

 

When trying to run locally on IIS with https. I have a self signed certificate. Don't really know much about SSL.

 

Kevin

Axosoft
#2 Posted : Friday, November 18, 2011 10:09:55 AM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

Couple questions:

  • Are you currently, or are you planning to run in a clustered/web farm/web garden environment?
  • Do you have session state enabled in your app?

kev43barrie
#3 Posted : Friday, November 18, 2011 10:39:03 AM
Rank: Newbie

Groups: Registered

Joined: 11/16/2011
Posts: 4
Location: Home

Yes I have session state enabled.

I don't think we are planning to run in a clustered/web fram/web garden environment.
Axosoft
#4 Posted : Friday, November 18, 2011 10:56:52 AM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

By default, SlickUpload stores its upload status information in SessionState if you have it enabled. This allows SlickUpload to handle clustered environments with no configuration changes, but if you have a self signed cert, the progress requests will error.

Since you're not going to be running clustered, you can turn this off by adding the following inside the <slickUpload> config section in web.config:

<sessionStorageProvider type="InProc" />

kev43barrie
#5 Posted : Tuesday, November 22, 2011 6:51:30 AM
Rank: Newbie

Groups: Registered

Joined: 11/16/2011
Posts: 4
Location: Home
That worked.

Thanks for your help.

Kevin
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.