3.1.0 & 3.1.1 - Canva Connection Error

A summary of what I did:

1 - I created the Application with the name Canva and marked what I asked for.

2 - I created the folder pointing to the /web folder and put the SSL certificate.

3 - I created the 3 .key files following what our colleague said:
RSA (Private and Public): Online RSA Key Generator
Encryption: https://generate.plus/en/base64

4 - I placed the files inside the xibo/Library/certs folder

5 - In my .htaccess I left it like this:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/api/authorize/.*$
RewriteRule ^ api/authorize/index.php [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/api/.*$
RewriteRule ^ api/index.php [QSA,L]

6 - And in ConfigService it was like this:

$this->apiKeyPaths = [
‘publicKeyPath’ => $libraryLocation . ‘certs/public.key’,
‘privateKeyPath’ => $libraryLocation . ‘certs/private.key’,
‘encryptionKey’ => file_get_contents($libraryLocation . ‘certs/encryption.key’)
];

7 - When I tried to validate in CANVA with my link: https://app.faciltv.com.br

8 - Show me the message:

{“error”:0,“message”:“API configuration problem, consult your administrator”}

9 - And the link that shows this:

https://app.faciltv.com.br/api/authorize/?state=298ceeXXXXXXXXb3feXXXXXXXXXXb87c4&scope=&response_type=code&approval_prompt=auto&redirect_uri=https%3A%2F%2Fcanva.xibosignage.com%2Fcomplete&client_id=XXXXXX287dXXXXXXF403c28aeXXXXXXXXXX8a