Search found 606 matches

by SeeCwriter
Thu Feb 02, 2023 10:15 am
Forum: NetBurner Software
Topic: Simple Onboard Cert Gen with v3.x
Replies: 15
Views: 7181

Re: Simple Onboard Cert Gen with v3.x

I added function createCertAndKey() from the Advanced example to the Simple example, called it, and I was able to load the HTTPS webpage. I removed createCertAndKey, and restored the Simple example back to original, and again I was able make a secure connection and load the HTTPS webpage. To test wh...
by SeeCwriter
Thu Feb 02, 2023 7:02 am
Forum: NetBurner Software
Topic: Simple Onboard Cert Gen with v3.x
Replies: 15
Views: 7181

Re: Simple Onboard Cert Gen with v3.x

I was asking about the simple example. I have built it (simple example) and it doesn't work for me. I get error ERR_CERT_INVALID. I looked at function EnableOnboardCertificateCreation(), and it has a single statement that sets a function pointer to a function that does the certificate creation, but ...
by SeeCwriter
Wed Feb 01, 2023 8:24 am
Forum: NetBurner Software
Topic: Simple Onboard Cert Gen with v3.x
Replies: 15
Views: 7181

Re: Simple Onboard Cert Gen with v3.x

Did you use the example program as-is? Because I noticed that there is no function to create a self-signed certificate like there is in the Advanced version.
by SeeCwriter
Tue Jan 24, 2023 1:47 pm
Forum: NetBurner Software
Topic: Simple Onboard Cert Gen with v3.x
Replies: 15
Views: 7181

Simple Onboard Cert Gen with v3.x

I created example program SslOnboardCertGeneration, the Simple version, for a MOD5441X. The program runs, and I can open the unsecure webpage. But the secure page gives me error ERR_CERT_INVALID. When I look at the certificate through the cert viewer, it displays error "Unable to decode certifi...
by SeeCwriter
Fri Jan 20, 2023 10:40 am
Forum: NetBurner Software
Topic: Upgrading firmware from commandline
Replies: 3
Views: 1278

Re: Upgrading firmware from commandline

We have a customer that has a large number of our products, and they want to be able to automate upgrading firmware. Their computer system is Linux, so they can't use Windows utilities, and they don't want to open a webpage or use a GUI utility for each device and manually upload firmware. Thanks fo...
by SeeCwriter
Fri Jan 20, 2023 8:55 am
Forum: NetBurner Software
Topic: Upgrading firmware from commandline
Replies: 3
Views: 1278

Upgrading firmware from commandline

For firmware built with v2.x tools for a NANO or MOD5441X, is it possible to use an OS independent script file (e.g. python, go, etc) to upload new firmware to the module?
by SeeCwriter
Fri Jan 13, 2023 12:23 pm
Forum: NetBurner Software
Topic: Where is ExpireRetCodes defined?
Replies: 2
Views: 1411

Re: Where is ExpireRetCodes defined?

However, in the forum thread below you will see that Jon posted two functions and told me to add them to NbWolfSsl.cpp in v2.9.5.

viewtopic.php?f=5&t=3162&start=10
by SeeCwriter
Thu Jan 12, 2023 3:26 pm
Forum: NetBurner Software
Topic: Where is ExpireRetCodes defined?
Replies: 2
Views: 1411

Where is ExpireRetCodes defined?

In v2.9.5 with a NANO, in file NbWolfSsl.cpp is function: ExpireRetCodes SSL_IsCertExpired( unsigned char* certBuff, int certLen, uint16_t certBuffFormat /*= SSL_FILETYPE_PEM*/ ) I get a compiler error that ExpireRetCodes is not a type. I have searched all the NB source files and I can't find where ...
by SeeCwriter
Wed Nov 30, 2022 2:34 pm
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4329

Re: Updating SNMP for v3.x Project

I should have paid attention to file header, it's actually a file from HCC Embedded. The file is in subdirectory of nbrtos\include\file. I think it must installed when NNDK is installed. It's only included in four files from HCC Embedded: api_f.h, fsf.h, fsm.h, port_s.h. And DMH includes file fsf.h ...
by SeeCwriter
Mon Nov 28, 2022 9:09 am
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4329

Re: Updating SNMP for v3.x Project

Sorry, I misspelled the file name. It's udefs.h, located in nburn\nbrtos\include\file.