WEM3080 any setting to do https upload?

Hi,

I can successfully set up WEM3080 for TLS/TCP upload, but I cannot do it for https. is there a way to do https upload?

I tried Run Mode: HTTP

HTTP Address: tls://myip.co:443/myendpoint but it removed all my : in the settings.

Is there a way to do https upload? Thanks a lot for your help.

Thread Status
10
150
3
1
0

Sort replies by:

Hi @laoliu,

I am using 

Firmware Ver.:

and I set 

Run Mode: HTTP

HTTP Address: https://192.168.1.27/iammeter

after I save the parameters and wait 20 seconds, this is what shows up:

Run Mode: HTTP

HTTP Address: https//192.168.1.27/iammeter

So, https:// becomes https// . I am catching traffic on both ports 443 and 433, but no traffic arrives.

Please advise further. thank you.

please tryhttps://myip.co/myendpointNow, it only supports the port of 433 when using HTTPS uploading.

here's the screenshot. https:// becomes https//

So sorry, I make the wrong replies before.

For avoiding to confuse other people, I delete my previous replies.

The fact is you should set it in this way.

1 select mode HTTP

2  HTTP address: URL:443/apiaddress 

please note there is no HTTP or HTTPS at the beginning.
In fact, it seems we never open HTTPS usage in public before. the firmware uses the HTTPS connection via the port setting (when the port setting is equal to 443, the firmware will use HTTPS connection).


Please note ,after you use the https or HTTP uploading , the default upload interval will be 6 seconds. you can set it in this way.

https://imeter.club/topic/11#21-set-the-data-upload-interval


Hi @laoliu,

It works like a charm. Thanks a lot!

So glad to hear that.

Yes, in fact, it seems we never announce that the firmware support HTTPS upload before.
We have developed this feature for one of our big customers but we never release it in any document.
You are the first person(except some of our big customers) that use this feature.

HTTPS should be the standard for secure communication. Is TLS over TCP without a higher level application protocol like HTTPS really a thing? Never seen a "tls://" URL...

The HTTPS is just using the HTTP over TLS.
If you only use the tls here,you should consider the TLS only as an encrypted communication method

It just encrypted the JSON data(use the tls protocol by a self-signed certificate), not the HTTP protocol.

No one said the TLS can only be used together with a protocol in the application layer(such as http).
we provide a tls server code example (nodejs) in this link, it may help you to understand what we have done in this setting.

https://github.com/lewei50/iammeter/tree/master/Tools

HTTPS should be the standard for secure communication. Is TLS over TCP without a higher level application protocol like HTTPS really a thing? Never seen a "tls://" URL...
Looks like you are new here. Register for free, learn and contribute.