Skip to content

Conversation

@AndyXan
Copy link

@AndyXan AndyXan commented May 30, 2022

A quick and dirty (lightly tested) few lines of Code, enabling to pass at least the certificate options for both, client and serverside for MY TLS session. Complete control over the transport channel properties would be appreciated. But that will do for now.

        client_cert= '/myclientcert.pem'
        op = OpenProject(url="https://myopenproject/",
                         api_key="3.14159265359pi",
                         **{'verify': my_ca_root_certificate, 'cert': client_cert})

@AndyXan
Copy link
Author

AndyXan commented May 30, 2022

Shouldn't break anything major. Passing nothing should do nothing, passing correct values should work (at least works for me) and passing incorrect values should raise the usual unexpected value exceptions.

@AlanPadi95 AlanPadi95 merged commit b4342f6 into Flying-Free:main Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants