Hello,
we are using HL8548 modules in our product. The documentation says that https is supported, but so far I could not get this work as expected.
The encryption is alright, but when I enable the server authentication (sec_level=2) I get a
KHTTPS_ERROR: <session_id>,13
Initialize SSL error.
A little background:
Firstly we tried with our local server with a self-signed certificate and it was just fine even with authentication. But since we switched to the new bought certificate we always receive this error. I already tried different servers (like for example google.com:443) but this did not worked either.
Should I set the intermediate certificate somehow?
Another issue: the documentation says that we should use DER encoded certificates but the module only approve PEM.
Does the module support the server authentication. I could not find a working example. Even in the documentation only the encryption is used, but we must use the server authentication.
Could you please send an example where https is working as expected or could you point me to a direction what could possibly go wrong with our project?
Regards,
Greg