snstac / pytak

PyTAK is a Python package for rapid TAK integration.
https://pytak.readthedocs.io/en/stable/
Apache License 2.0
162 stars 46 forks source link

Support Connectivity to ArgusTak #59

Open davesauce14 opened 11 months ago

davesauce14 commented 11 months ago

Hi team, I'm trying to use PyTak to connect to ArgusTak, an online Tak Server provider, for the purposes of reading and sending COT messages.

However I am experiencing issues connecting to their service via SSL (they do not support TCP or other protocols) below is my configuration.

I am able to connect via ATAK and WinTak for a point of reference. They require Client Certificate and Password, and TrustStore Certificate and password as per their instructions on their site: https://argustak.com/help/secure-pipe

config["mycottool"] = {
        "COT_URL": "ssl://argustak.com:8089",
        "PYTAK_TLS_CLIENT_CERT": "C:/../client.p12",
        "PYTAK_TLS_CLIENT_PASSWORD": "sample",
        "PYTAK_TLS_CLIENT_CAFILE": "C:/../trust_store_cert.p12",
        "PYTAK_TLS_CLIENT_KEY": "sample",    # Is this the password for the CA file?
        # "PYTAK_TLS_DONT_VERIFY": "1",
        # "PYTAK_TLS_DONT_CHECK_HOSTNAME": "1",
        "FTS_COMPAT": "1",
        "DEBUG": "1"
    }
christopher-davidson commented 9 months ago

ArgusTAK uses the "standard" TAK .p12 where there is also a CA file in the client.p12. I have my test system connecting to ArgusTAK using a configuration without specifying the CAFILE and KEY.