I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .
**Ask:**I am struggling to get something working.
Here's the setup:
- Use synapse to connect to Oracle OCI database - using port 1521 no encryption and is working fine
- Oracle dba creating a new port 2484 which is encrypted
- Azure team received the server_ca.cert file from Oracle team
- We placing the about file on the VM where are running self-hosted Integration RunTime under c:\app\wallet\server_ca.cert file.
- I am trying different ways to create a service link but I cannot make it work.
- I use the Key vault to create the connection strings like this: Host=dbname;Port=2484;ServiceName=servicename;User Id=user;Password=user;EncryptionMethod=1;TrustStore=C:\app\wallet;
- I tried to create the service link and I get unable to access the TrustStore.
- I even to trust to add the ca on the connection string like this: Host=dbname;Port=2484;ServiceName=servicename;User Id=user;Password=user;EncryptionMethod=1;TrustStore=data:// -----BEGIN CERTIFICATE-----certificate-----END CERTIFICATE----- but gives me userName and password error message which is not true.
I can provide you the script if that helps.
Not sure what am I doing wrong.
Solution:I have used a different version of this.
I created the Oracele Connection String as Secret in the key . I added the CA certificate on the Connection string as ---- begin certificate ----- end certificate and seem to work ok.
Not sure which one is the best way to follow but at least I found one way how to do it.
Thanks for your help and your suggestions.
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.