Page 1 of 1

certificate upload

Posted: Fri Jan 15, 2021 9:24 am
by RebootExpert
I am using 2.9.3 build and load the ssl https certificate upload example into MOD5411X. upload my self signed cert using the web page. But the sercue https always show the default cert instead my own cert.

Re: certificate upload

Posted: Fri Jan 15, 2021 9:59 am
by Jon
Hi RebootExpert,

There's a good chance that the browser is holding on to your cert and using it with session resumption. Would you be able to try this test again using FireFox in private mode? I've noticed Chrome seems to hold on to cert data even when you're in Incognito.

Kind Regards,
Jon

Re: certificate upload

Posted: Fri Jan 15, 2021 10:25 am
by RebootExpert
Hello Jon,
Just try it on the latest Firefox private mode, it's acting the same.

Re: certificate upload

Posted: Sun Jan 17, 2021 8:05 pm
by pbreed
What cipher/ type of cert?

Re: certificate upload

Posted: Tue Jan 19, 2021 9:19 am
by RebootExpert
It's RSA

Re: certificate upload

Posted: Mon Jan 25, 2021 10:07 am
by RebootExpert
I found HalSaveNewDeviceCert() and HalSaveNewDeviceKey() in <hal.h> solve my problem.

Re: certificate upload

Posted: Wed Jan 27, 2021 10:00 am
by Jon
Ahhh, yes, that's important. I'll make sure that that is properly noted in our documentation. Thank you for posting the update.