certificate upload

Discussion to talk about software related topics only.
Post Reply
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

certificate upload

Post 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.
User avatar
Jon
Posts: 79
Joined: Mon Feb 05, 2018 10:54 am

Re: certificate upload

Post 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
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

Re: certificate upload

Post by RebootExpert »

Hello Jon,
Just try it on the latest Firefox private mode, it's acting the same.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: certificate upload

Post by pbreed »

What cipher/ type of cert?
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

Re: certificate upload

Post by RebootExpert »

It's RSA
RebootExpert
Posts: 89
Joined: Fri Oct 09, 2020 2:57 pm

Re: certificate upload

Post by RebootExpert »

I found HalSaveNewDeviceCert() and HalSaveNewDeviceKey() in <hal.h> solve my problem.
User avatar
Jon
Posts: 79
Joined: Mon Feb 05, 2018 10:54 am

Re: certificate upload

Post 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.
Post Reply