Forum Replies Created

  • mauricemoore

    Member
    September 11, 2023 at 12:00 am in reply to: PyKX TLS Mode with company CA

    Thanks for providing this command – pykx.ssl_info() It seems the issue is on my side and related to the openssl library >>> pykx.ssl_info()Traceback (most recent call last):File “”, line 1, in File “pykx\_ipc.pyx”, line 74, in pykx._ipc.ssl_infoFile “pykx\_ipc.pyx”, line 79, in pykx._ipc.ssl_infoFile “pykx\_wrappers.pyx”, line 493, in pykx._wrappers.factorypykx.exceptions.QError: Could not initialize openssl. Error was The specified module could not be found. But it seems my openssl set up is okay; >>> os.system(‘openssl version’) OpenSSL 3.1.1 30 May 2023 (Library: OpenSSL 3.1.1 30 May 2023)0>>> I’ll update the thread if I find the issue on my side. Thanks.

  • mauricemoore

    Member
    September 11, 2023 at 12:00 am in reply to: PyKX TLS Mode with company CA

    Thanks for providing this command – pykx.ssl_info()

    It seems the issue is on my side and related to the openssl library

    >>> pykx.ssl_info()
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "pykx\_ipc.pyx", line 74, in pykx._ipc.ssl_info
    File "pykx\_ipc.pyx", line 79, in pykx._ipc.ssl_info
    File "pykx\_wrappers.pyx", line 493, in pykx._wrappers.factory
    pykx.exceptions.QError: Could not initialize openssl. Error was The specified module could not be found.

     

    But it seems my openssl set up is okay;

    >>> os.system('openssl version') 
    OpenSSL 3.1.1 30 May 2023 (Library: OpenSSL 3.1.1 30 May 2023)
    0
    >>>

     

    I’ll update the thread if I find the issue on my side.

    Thanks.

  • mauricemoore

    Member
    September 6, 2023 at 12:00 am in reply to: PyKX TLS Mode with company CA

    Hi, Thanks for replying, I’m guessing it does not know where my company CA certificate is by default; >>> q = pykx.SecureQConnection(host = machineX, port = portX, username = userX, password = passwX, tls = True)Traceback (most recent call last):File “”, line 1, in File “C:UsersmmoorePycharmProjectsNodeJsvenvlibsite-packagespykxipc.py”, line 1971, in __init__self._init(host,File “C:UsersmmoorePycharmProjectsNodeJsvenvlibsite-packagespykxipc.py”, line 383, in _initraise PyKXException(self._ipc_errors.get(self._handle, ‘Unknown IPC error’))pykx.exceptions.PyKXException: OpenSSL initialization failed

  • mauricemoore

    Member
    September 6, 2023 at 12:00 am in reply to: PyKX TLS Mode with company CA

    Hi,

    Thanks for replying, I’m guessing it does not know where my company CA certificate is by default;

    >>> q = pykx.SecureQConnection(host = machineX, port = portX, username = userX, password = passwX, tls = True)
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "C:UsersmmoorePycharmProjectsNodeJsvenvlibsite-packagespykxipc.py", line 1971, in __init__
    self._init(host,
    File "C:UsersmmoorePycharmProjectsNodeJsvenvlibsite-packagespykxipc.py", line 383, in _init
    raise PyKXException(self._ipc_errors.get(self._handle, 'Unknown IPC error'))
    pykx.exceptions.PyKXException: OpenSSL initialization failed