Automatic backup of Jira using token
@Dario Bonotto: Jira backup script “backup-jira-api-token.sh” has stopped working since yesterday, Could you please check if it works at your end now?
Below command isn’t working:
\$(curl -s -u ${EMAIL}:${API_TOKEN} -H "Accept: application/json" -H "Content-Type: application/json" --data-binary '{"cbAttachments":"true", "exportToCloud":"true"}' -X POST https://${HOSTNAME}/rest/backup/1/export/runbackup )
{noformat}
* NSS error -12286 (SSL_ERROR_NO_CYPHER_OVERLAP) * Cannot communicate securely with peer: no common encryption algorithm(s). * Error in TLS handshake, trying SSLv3...
{noformat}
Thanks,
Suresh
Comments (5)
-
-
I didn’t have any time to check this yet, but it can be related to the fact that we now only accept TLS 1.2.
can you try to check if forcing to use TLS 1.2 solves the issue?
curl --tlsv1.2 -u EMAIL:TOKEN ....
Cheers,
Dario -
- changed status to open
-
- changed status to on hold
Can anyone try if this works fine by forcing TLS 1.2
curl --tlsv1.2 -u EMAIL:TOKEN ....
-
- changed status to closed
- Log in to comment
Anyone come across a solution for this yet?