Getting error when running the script
Edit: I fixed it by removing .atlassian.net from $account = ‘mydomain'
I thought I should write my full domain there..
before - $account = 'mydomain.atlassian.net' → Didn’t work
after - $account = 'mydomain' → worked
The Atlassian domain and token are correct since I use the same details for the Confluence PS script that is shared here and for Confluence it works. The account I use to run the script is Local Admin.
Would appreciate your help with this
Thanks
Invoke-RestMethod : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
At C:\Scripts\FullJiraBackup.ps1:70 char:15
+ ... $status = Invoke-RestMethod -Method Get -Headers $header -Uri "http ...
+ ~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Comments (3)
-
reporter -
reporter - edited description
-
- changed status to resolved
Based on the last comment it looks like the issue is already resolved.
- Log in to comment
</div> </form>