Open flostyen opened 3 years ago
Hi,
your nice script only works when nextcloud is running with TLSv1.0 due to powershell is only using TLSv1.0. To address this, simply add
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
to your script, as done in the fork: https://github.com/flostyen/PRTGScripts/blob/master/PRTG-NextCloud-Status/Prtg_NextCloud.ps1
Kind regards, Flo :-)
Hi,
your nice script only works when nextcloud is running with TLSv1.0 due to powershell is only using TLSv1.0. To address this, simply add
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
to your script, as done in the fork: https://github.com/flostyen/PRTGScripts/blob/master/PRTG-NextCloud-Status/Prtg_NextCloud.ps1
Kind regards, Flo :-)