Connecting to cloud instance with TLS without wallet dir? (One way TLS) #369
-
In our setup, the wallet have been disabled to use only TLS authentication.
And code that works with python :
I tried to use the build URL with from JDBC string but still no lock, I get a timeout error, it seems it is still dialing in tcp rather than tcps (because there is no wallet var?). These are my params:
This seems to be a different auth method than the normal TLS + wallet dir? Or is there something else in the wallet dir than the certificates that is needed as well? I tried to play around with the package a bit but no luck.. EDIT: I read a bit from the python documentation and basically this is what I try to acheive: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Related issue in python client: |
Beta Was this translation helpful? Give feedback.
-
Fixed it, I needed to modify the negociate function (session.go)
|
Beta Was this translation helpful? Give feedback.
-
That way we dont have certificate error and it seems to work well even with GORM |
Beta Was this translation helpful? Give feedback.
-
Made a PR to fix this: |
Beta Was this translation helpful? Give feedback.
Fixed it,
I needed to modify the negociate function (session.go)