Certificate error: RemoteCertificateChainErrors

Created at 28 Jun 2018, 10:34
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ME

megha

Joined 11.12.2017

Certificate error: RemoteCertificateChainErrors
28 Jun 2018, 10:34


Hello

I am working on fxpig ctrader fix api
I have found an error " Certificate error: RemoteCertificateChainErrors"
when i requset 

priceClient = new TcpClient("h18.p.ctrader.com", 5211);
                _priceStreamSSL = new SslStream(_priceClient.GetStream(), false,
                            new RemoteCertificateValidationCallback(ValidateServerCertificate), null);
                _priceStreamSSL.AuthenticateAsClient("h18.p.ctrader.com");

Please help me to reslove this issue

Thank You


@megha
Replies

obaum1@gmail.com
28 Jun 2018, 12:29

Hey megha,

The FIX API Host has changed. try: h1.p.ctrader.cn 

 


@obaum1@gmail.com

PanagiotisCharalampous
28 Jun 2018, 12:30

Hi megha.

Can you please try now?

Best Regards,

Panagiotis


@PanagiotisCharalampous