Git Product home page Git Product logo

Comments (16)

AndyXheli avatar AndyXheli commented on June 20, 2024 1
  1. Save the below text as enable-tls1-2.reg and import it into the server.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001
  1. The next step is to disable down level protocols. Again, save the below text as force-tls1-2.reg and import it into each OOS server.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0]
@="DefaultValue"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server]
@="DefaultValue"
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]
@="DefaultValue"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]
@="DefaultValue"
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0]
@="DefaultValue"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server]
@="DefaultValue"
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0]
@="DefaultValue"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server]
@="DefaultValue"
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]
@="DefaultValue"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
@="DefaultValue"
"Enabled"=dword:00000000
  1. Lunch PowerShell as admin
  2. iisreset
  3. Test

For more info you can read this post via the url https://social.technet.microsoft.com/Forums/en-US/327bbdab-1676-4ff6-9282-df4807e4cf96/sp2016-with-office-online-2016?forum=SP2016

I tested this today on my setup and it works.

from officeonline.

theoneandonly-vector avatar theoneandonly-vector commented on June 20, 2024 1

yes, that's it. sorry for keeping this open.

from officeonline.

jonasled avatar jonasled commented on June 20, 2024

I get the same Error Message running NC 20 on apache with PHP 7.4

from officeonline.

jonasled avatar jonasled commented on June 20, 2024

I've debugged a bit more and it looks like you have to enable TLS1.2 in your .net configuration: https://social.technet.microsoft.com/Forums/en-US/327bbdab-1676-4ff6-9282-df4807e4cf96/sp2016-with-office-online-2016?forum=SP2016

from officeonline.

theoneandonly-vector avatar theoneandonly-vector commented on June 20, 2024

I've debugged a bit more and it looks like you have to enable TLS1.2 in your .net configuration: https://social.technet.microsoft.com/Forums/en-US/327bbdab-1676-4ff6-9282-df4807e4cf96/sp2016-with-office-online-2016?forum=SP2016

I just tried this -> doesn't work for me.

from officeonline.

theoneandonly-vector avatar theoneandonly-vector commented on June 20, 2024

I've debugged a bit more and it looks like you have to enable TLS1.2 in your .net configuration: https://social.technet.microsoft.com/Forums/en-US/327bbdab-1676-4ff6-9282-df4807e4cf96/sp2016-with-office-online-2016?forum=SP2016

does it work on your setup?

from officeonline.

jonasled avatar jonasled commented on June 20, 2024

yes, I've enabled this option and now it works

from officeonline.

theoneandonly-vector avatar theoneandonly-vector commented on June 20, 2024

yes, I've enabled this option and now it works

Do you know if the office online server needs to be available from the client (my client connects from Internet) or only Nextcloud-Server -> Office Online Server.

Also you just did the registry settings right?

from officeonline.

jonasled avatar jonasled commented on June 20, 2024

yes, it has to be available from the client and I've done the registry hack. Your office Server needs also a valid SSL cert if you have enabled https on your nextcloud.

from officeonline.

jonasled avatar jonasled commented on June 20, 2024

You can also check if the browser console or the office Server logs show more details.

from officeonline.

theoneandonly-vector avatar theoneandonly-vector commented on June 20, 2024

I have let's Encrypt on both hosts and office-online serve ris available through https from the internet now.
I get this on my console in chrome:

GET https://nc.domain.tld/ocs/v2.php/apps/text/workspace?path=%2FDocname 404 (Not Found)

from officeonline.

AndyXheli avatar AndyXheli commented on June 20, 2024

https://help.nextcloud.com/t/office-online-error-message-something-went-wrong/100447/11

from officeonline.

AndyXheli avatar AndyXheli commented on June 20, 2024

@theoneandonly-vector this dose seem to be a issue on the officeonline app more on the server side. I was able to fix this issue via above comments. Please confirm that its working for you. If so, can you please close this ticket ?

from officeonline.

juliushaertl avatar juliushaertl commented on June 20, 2024

Let's close this due to no further feedback.

from officeonline.

AndyXheli avatar AndyXheli commented on June 20, 2024

I think so too. We can close this. I setup a new Office Online server and had no issues.

from officeonline.

AndyXheli avatar AndyXheli commented on June 20, 2024

No problem! Thank you for confirming with us.

from officeonline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.