initialer commit eines statusclients für eine NodeMCU
This commit is contained in:
parent
56742d8707
commit
7598b237bf
4 changed files with 273 additions and 0 deletions
36
source/nodemcu/statusclient/certs.template
Normal file
36
source/nodemcu/statusclient/certs.template
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* file: certs.template
|
||||
* desc: This file is part of the Krautspace Doorstatus project. It contains
|
||||
* certificates for the statusclient.ino programm, that runs on a NodeMCU
|
||||
* with a ESP8266 chip.
|
||||
*
|
||||
* Replace the comments in certificate sections with our own certificates.
|
||||
*/
|
||||
|
||||
|
||||
const char SERVER_CERT[] PROGMEM = R"EOF(
|
||||
-----BEGIN CERTIFICATE-----
|
||||
/*
|
||||
* lace for the public server certificate to authenticate the doorstatus
|
||||
* server.
|
||||
*/
|
||||
-----END CERTIFICATE-----
|
||||
)EOF";
|
||||
|
||||
const char CLIENT_CERT[] PROGMEM = R"EOF(
|
||||
-----BEGIN CERTIFICATE-----
|
||||
/*
|
||||
* Place for the clients (this program) public certificate to authenticate
|
||||
* client against the server.
|
||||
*/
|
||||
-----END CERTIFICATE-----
|
||||
)EOF";
|
||||
|
||||
const char CLIENT_KEY[] PROGMEM = R"EOF(
|
||||
-----BEGIN CERTIFICATE-----
|
||||
/*
|
||||
* Place for the clients private key file.
|
||||
*/
|
||||
-----END CERTIFICATE-----
|
||||
)EOF";
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue