No. 1573 | Re: Re: Re: Re: Open socket to https site | 2018-03-06 | ||
---|---|---|---|---|
Here is the output: When I connect to port 443 of www.arduino.cc I do not get a connection (which is what I also mentioned in my previous posts -> I have to disable certificate checking on the server to be able to make a connection via ssl) and if I connect to port 80 I get the following output: HTTP/1.1 301 Moved Permanently Content-Type: text/html Date: Mon, 05 Mar 2018 20:11:43 GMT Location: https://www.arduino.cc/asciilog.txt Server: nginx/1.4.2 Content-Length: 184 Connection: Close 301 Moved PermanentlyNO CARRIER Regards, Marc > Sollae Systems wrote: > ------------------------------------ > Dear Marc, > > Thank you for your information. > For further analysis, could you please connect to a widely-known HTTPS server, send a GET request, and show us the screenshots of response message, > in case you active and deactive SSL option. > > For example, you may connect to HTTPS server 54.235.185.199 (https://www.arduino.cc/), and send a HTTP GET request such as "GET /asciilogo.txt HTTP/1.1". > > Thank you very much for your understanding. > Best Regards, > > > > Anonymous wrote: > > ------------------------------------ > > I am using the ezTCP device as a client. > > In the mean time I have changed the setting of our https server for not doing certificate sending and I am now able to create a connection with the server. > > However when I send a HTTP GET request, I only receive the HTTP header, but not the requested data. When I do the same request on a PC to the same server, it is working (HTTP header + data) > > > > After some time when the server closes the connection, I get a "NO CARRIER" response from the module. > > > > If I do the same with SSL disabled and connect to the same server, it is working. > > > > Any idee what could be the cause of this? > > > > Marc > > > > > > > Sollae Systems wrote: > > > ------------------------------------ > > > Dear Marc, > > > > > > We would like to make it more clearly about your scheme, whether you use ezTCP device as a client or server? Also, please make sure that you set the appropriate setting (IP address, port number, etc.) for your device. > > > > > > If your ezTCP device acts as a client and there is no problem with the device setting, for this issue, one possible reason is that in some cases, server may request a client certificate. > > > If this situation occurs, ezTCP products do not support sending response to those requests. > > > > > > If you have any inquiry, please feel free to contact us. > > > Thank you for your understanding. > > > Best Regards, > > > > > > > > > > Marc wrote: > > > > ------------------------------------ > > > > HI, > > > > > > > > I have CSE-M53N module and I am able to connect via a SSL socket as a client when I disable the CA checking on the server. > > > > > > > > But when I want to connect a socket to a https side (port 443) it is not succeeding. I think it has to something with the certificate checking. > > > > > > > > Could you tell me how I can connect with ssl to a standard https site on port 443? > > > > > > > > Regards, > > > > Marc > > > > |
Writer | Marc | Company | I-Explore |
|
|||