tableau / connector-plugin-sdk

SDK for Developing Tableau Connector Plugins
https://tableau.github.io/connector-plugin-sdk/
MIT License
108 stars 107 forks source link

Tableau Desktop is not recognizing the signed taco #1244

Closed roshanrajan-test closed 3 months ago

roshanrajan-test commented 4 months ago

About You: Name: Roshan

Your question: I have a taco file signed using a codesigning certificate. The file verification with "jarsigner -verify test.taco -verbose -certs -strict" is done with no error or warnings. Done using jdk-22.

Verify

However still getting error in Tableau Desktop/Server when using the taco.

Attached error:

TDError
pvanderknyff commented 4 months ago

What do the logs say? https://tableau.github.io/connector-plugin-sdk/docs/log-entries

Is this a self-signed certificate? Tableau doesn't accept those.

Also, if this is a cert that you manually added to your JRE's cacerts you'll also need to do that for the bundled JRE that Tableau uses. However, a taco signed like this will not be accepted to the Tableau Exchange, as the taco should work on any machine without needing to import certs.

If it's not the above, it may be a bug with the taco verification, although it's usually an environmental issue. Can you post the full jarsigner output and the taco signature verification log lines?

roshanrajan-test commented 3 months ago

Hi @pvanderknyff

To answer your question, it is a CA signed certificate.

And based on your suggestion I was able to fix the issue by adding the certificate chain to the Tableau bundled keystore. Appreciate your prompt response and valuable inputs.

roshanrajan-test commented 3 months ago

Thank you.