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

sander1095's profile image sander1095 posted 2 years ago in Creating a connection Permalink

HeidiSql supports CLI arguments. Sadly i am not allowed to post links. Its on the help page.

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

ansgar's profile image ansgar posted 2 years ago Permalink

Try to use the full path instead of "./xyz". And use the Windows backslash, not the Linux forward slash in paths.

Please login to leave a reply, or register at first.