You are viewing limited content. For full access, please sign in.

Question

Question

View document in Word and Document Preview On Web Client getting ssl error

asked on January 23, 2020

Hello All,

 

We have recently changed Web Access URL from http to https with redirect to https enabled. But now we are getting the following SSL error when trying to open a word document from the web client: 

A connection to Laserfiche web client cannot be made. Refresh Laserfiche web client and try again. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure.    at Laserfiche.OfficePlugin.Common.DocModel.OPArtifactFactory.FromURL(IWin32Window hwnd, WebServiceArguments webURL, String filter)

 We are also getting a similar error when trying to preview the document in the Document Preview in web client. Also same error when trying to attach the repository again in the Word when using the Web Client url. Attaching with the network repository option works fine.

 

We have already added the certificate used for the https configuration of the Web Client in the trust store of all the end user pc and on Laserfiche directory server.

 

Did we miss any further configuration?

0 0

Replies

replied on January 27, 2020

I assume that when you use a browser to go to the site you don't get certificate warning or errors? If so, it seems that there is nothing wrong with the certificate per se. Can you confirm that the url that you have specified matches what the certificate is issue for?

0 0
replied on January 27, 2020 Show version history

Hello Brian,

I am using a self-signed certificate generated from the forms/web client server and the urls are being accessed within the same domain locally.

 

Only difference between the url being used and the certificate is as follows:

 

Web client url:

Https://xxxx/laserfiche

 

And certificate is issued by and to

xxxx.yyy.local

 

I guess the certificate is using the fqdn while the url is not.

 

Could this be the issue?

 

We are on Laserfiche 10.4.

 

Thank you.

0 0
replied on January 27, 2020

That would cause the problem you are seeing, the url used has to match the host(s) the certificate was issued to.

1 0
replied on February 10, 2020

Thank you. We shall investigate and revert back.

0 0
replied on May 21, 2021

I am having this issue in Chrome. It opens Word but then I get the error:

 

A connection to Laserfiche web client cannot be made. Refresh Laserfiche web client and try again.

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.

   at Laserfiche.OfficePlugin.Common.DocModel.OPArtifactFactory.FromURL(IWin32Window hwnd, WebServiceArguments webURL, String filter)
 

0 0
replied on May 24, 2021

What version of Laserfiche are you using?

0 0
replied on May 24, 2021

Make sure your certificates are properly issued and trusted. If you get a warning when you visit the site in a browser, you will get a failure from Office Plugin. That means:

  1. No self-signed certificates. The certificate needs to be chained to an installed root certificate.
  2. The hostname that you use needs to match the certificate. That almost always means using FQDN instead of a simple name.
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.