typedb / typedb-console

TypeDB Console: CLI for TypeDB and TypeDB Cluster
https://typedb.com
Mozilla Public License 2.0
7 stars 16 forks source link

Unable to login to Typedb Cluster (Windows specific) #174

Open geetanjalkkumar opened 3 years ago

geetanjalkkumar commented 3 years ago

I am trying to logon to typedb cluster using command typedb console --cluster=127.0.0.1:1729 --username admin --password --tls-enabled=true --tls-root-ca=C:\GRAKN\rootCA.pem

But getting error missing required parameter for option '--tls-root-ca' (<tlsRootCA>)

Same command is working fine on mac machine. Also, when I tried connecting through python typedb client it is working fine.

Issue is specific to window command. Looking for the resolution.

alexjpwalker commented 2 years ago

This looks like an issue where a string value needs to be quoted, maybe something like

typedb console --cluster=127.0.0.1:1729 --username admin --password --tls-enabled=true --tls-root-ca='C:\GRAKN\rootCA.pem'

or perhaps the backslashes need to be escaped:


typedb console --cluster=127.0.0.1:1729 --username admin --password --tls-enabled=true --tls-root-ca=C:\\GRAKN\\rootCA.pem
jamesreprise commented 1 year ago

This looks to be a bug in the Windows version, no combination of quotes or full vs relative paths seemed to get this to work.