thanks for your answer.
ConnectionFactory conFactory = new ConnectionFactory();
conFactory.HostName = _settings.Server;
conFactory.Port = _settings.Port;
conFactory.UserName = _settings.ActiveCredential.Username;
conFactory.Password = _settings.ActiveCredential.Password;
conFactory.VirtualHost = _settings.VHost;
conFactory.Protocol = Protocols.DefaultProtocol;
conFactory.Ssl.CertPath = _settings.CertificateFilename;
conFactory.Ssl.CertPassphrase = _settings.CertificatePassword;
conFactory.Ssl.AcceptablePolicyErrors = System.Net.Security.SslPolicyErrors.RemoteCertificateChainErrors | System.Net.Security.SslPolicyErrors.RemoteCertificateNameMismatch;
conFactory.Ssl.Enabled = true;
However, I'm receiving an "endpoint not reachable" when trying to connect to the server like this.
The code at hand works if I'll have the network guys set up an explicit corporate firewall rule, but our company policy has changed and now forces everyone to use the proxy if it supports the comms protocol (in this case AMQP).
Is there something I have to explicitly add to the code above to have it connect via the proxy?
Best Regards
Steffen