Automatic backup of Jira using token

Issue #28 closed
Suresh Bhandiwad created an issue

@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)

  1. Dario B

    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

  2. Log in to comment