I'm trying to use Service Bus for Windows Server 1.1 with Microsoft.Azure.ServiceBus package in my NetCore app on Linux machine.
First I have configured an working Service Bus for Windows Server 1.1, it's working well.
Then on client side I installed this NuGet package:
And write some sample code. My code working well then I'm using cloud Azure service bus in testing case, messages received/sent well and without any errors.
Next step I'm created a new SAS Authorization Rule for ServiceBus 1.1, this way I get service bus connection string with access token. This is how it looks like:
I'm getting this error then trying to use new generated connection string:
System.AggregateException: One or more errors occurred.
System.Security.Authentication.AuthenticationException:
The remote certificate is invalid according to the validation procedure.
What shoud I do to fix it? I'm not found any suggestions, tutorials or examples in web.