'how to use the ssl flags with heidisql's cli arguments?

HeidiSql supports CLI arguments: https://www.heidisql.com/help.php#commandline

I want to use the sslcacertificate option (-sslca or --sslcacertificate) but I keep getting errors, most likely because I am not using that flag correctly.

For example, let's say my current directory has a cert.pem which is the CA.

How do I use this with heidisql CLI arguments? Other args are omitted to reduce bloat.

heidisql.exe -sslca "./cert.pem" heidisql.exe -sslca "cert.pem" heidisql.exe -sslca="cert.pem"

Etc.

Thanks for your help



Solution 1:[1]

I used --sslcacertificate="cert.pem" which works.

Also specifiyng the full path works: --sslcacertificate="c:/cert.pem"

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 S. ten Brinke